UNPKG

@switchbot/homebridge-switchbot

Version:

The SwitchBot plugin allows you to access your SwitchBot device(s) from HomeKit.

11 lines (8 loc) 291 B
import { describe, expect, it } from 'vitest' import * as utils from '../../src/utils' describe('extra utils', () => { it('normalizeConfig returns empty object for undefined', () => { expect(utils.normalizeConfig(undefined)).toEqual({}) }) // Add more utility tests as needed })