SphtKr / homebridge-zway

Homebridge plugin for (better) HomeKit support of RaZBerry and Z-Way Server
ISC License
85 stars 38 forks source link

Unit tests run is failed on master #125

Open SPopenko opened 6 years ago

SPopenko commented 6 years ago

"Change in updateTime (only) causes two change events from ContactSensors" has 2 failed test cases:

Errors:

Module: index Test: Change in updateTime (only) causes two change events from ContactSensors
Called start() while already started (test's semaphore was 0 already)
    at .<anonymous> (~/Projects/homebridge-zway/tests/js/update-without-change.js:78:7)
    at emitOne (events.js:101:20)
    at emit (events.js:188:7)
    at .<anonymous> (~/Projects/homebridge-zway/index.js:9:86891)
    at emitOne (events.js:96:13)
    at emit (events.js:188:7)
    at Object.processPollUpdate (~/Projects/homebridge-zway/index.js:9:26448)
    at Object.<anonymous> (~/Projects/homebridge-zway/tests/js/update-without-change.js:87:16)

Module: index Test: Change in updateTime (only) causes two change events from ContactSensors
Expected 7 assertions, but 8 were run
    at global.test.QUnit.test (~/Projects/homebridge-zway/node_modules/qunit/lib/child.js:140:21)
    at Object.<anonymous> (~/Projects/homebridge-zway/tests/js/update-without-change.js:9:1)
    at Module._compile (module.js:570:32)
    at Module._extensions..js (module.js:579:10)
    at Object.Module._extensions..js (~/Projects/homebridge-zway/node_modules/qunit/node_modules/istanbul/lib/hook.js:101:13)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)