zigbee2mqtt/test
Mihal Malostanidis bb6c226d55 Test improvements (#1207)
* 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
2019-03-08 16:56:53 +01:00
..
controller.test.js Test improvements (#1207) 2019-03-08 16:56:53 +01:00
data.test.js Test improvements (#1207) 2019-03-08 16:56:53 +01:00
deviceAvailability.test.js Test improvements (#1207) 2019-03-08 16:56:53 +01:00
devicePublish.test.js Test improvements (#1207) 2019-03-08 16:56:53 +01:00
deviceReceive.test.js Test improvements (#1207) 2019-03-08 16:56:53 +01:00
homeassistant.test.js Test improvements (#1207) 2019-03-08 16:56:53 +01:00
settings.test.js Test improvements (#1207) 2019-03-08 16:56:53 +01:00
utils.js configurable last_seen (#874) 2019-01-18 20:31:55 +01:00