homebridge-gsh
Version:
Google Smart Home
25 lines • 979 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const globals_1 = require("@jest/globals");
const hap_types_1 = require("./hap-types");
describe('ServicesTypes', () => {
test('To have atleast 50 elements', () => {
(0, globals_1.expect)(Object.keys(hap_types_1.ServicesTypes).length).toBeGreaterThan(50);
});
});
describe('Service', () => {
test('To have atleast 50 elements', () => {
(0, globals_1.expect)(Object.keys(hap_types_1.Service).length).toBeGreaterThan(50);
});
});
describe('CharacteristicsTypes', () => {
test('To have atleast 50 elements', () => {
(0, globals_1.expect)(Object.keys(hap_types_1.CharacteristicsTypes).length).toBeGreaterThan(50);
});
});
describe('Characteristic', () => {
test('To have atleast 50 elements', () => {
(0, globals_1.expect)(Object.keys(hap_types_1.Characteristic).length).toBeGreaterThan(50);
});
});
//# sourceMappingURL=hap-types.test.js.map