mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-16 10:28:33 -07:00
bb6c226d55
* Add missing `zcl-id` dependency * Improve devicePublish test Now passes in both mocha and jest Each test now waits for all publishes, such as readbacks, and asserts their number. Replaced `calledOnce` and such with numeric assertion, for a more informative error message. * Use sinon default sandbox * Take assert out of chai Improves clutter, but also `jest-codemods` also makes use of this. * Replace proxyquire with simple cache delete * Reduce shared mutable state in settings.test |
||
---|---|---|
.. | ||
controller.test.js | ||
data.test.js | ||
deviceAvailability.test.js | ||
devicePublish.test.js | ||
deviceReceive.test.js | ||
homeassistant.test.js | ||
settings.test.js | ||
utils.js |