balena-supervisor/test/lib
Felipe Lalanne c70aedf044 Fix mock dockerode module
Tests using the mock `testWithData` method were not restoring the dockerode
prototype to the default values, making some tests behave differently
when run individually that when run with the suite.

This commit fixes the `testWithData` method and some malfunctioning v1
API tests because of the change. It doesn't fix all the tests
2021-04-27 13:00:56 -04:00
..
application-manager-test-states.ts Move database app processing out to its own module 2020-06-11 11:55:11 +01:00
application-state-mock.ts Added test case for /v1/restart API 2020-11-30 15:42:49 -05:00
chai-config.ts Convert some coffeescript tests to typescript 2019-10-30 10:58:32 +00:00
errors.ts Update typed-error to 3.x 2020-08-19 10:07:54 +01:00
helpers.ts Cancel pending apply target after /v1/update request 2021-01-20 22:21:14 -05:00
mocked-balena-api.ts api-binder: Convert to a singleton 2020-09-14 09:31:12 +01:00
mocked-database.ts Add more test coverage for compose/images 2020-11-03 13:08:41 -05:00
mocked-dbus.ts Complete /v1/device/host-config unit tests, modify PATCH route 2021-02-18 12:25:44 +09:00
mocked-device-api.ts Cancel pending apply target after /v1/update request 2021-01-20 22:21:14 -05:00
mocked-dockerode.ts Fix mock dockerode module 2021-04-27 13:00:56 -04:00
mocked-event-tracker.ts api-binder: Convert to a singleton 2020-09-14 09:31:12 +01:00
mocked-iptables.ts bug: Firewall not blocking supervisor access from outside the device 2020-08-12 13:43:33 +01:00
prepare.ts Make the config module a singleton 2020-06-02 14:29:05 +01:00