balena-supervisor/test
Cameron Diver 1d7381327e Make the db module a singleton
We were treating the database class as a singleton, but still having to pass
around the db instance. Now we can simply require the db module and have
access to the database handle.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-29 15:02:38 +01:00
..
data Improved handling of invalid appId in V2 state endpoint 2020-05-19 10:53:19 -04:00
lib Make the db module a singleton 2020-05-29 15:02:38 +01:00
00-init.ts Make the db module a singleton 2020-05-29 15:02:38 +01:00
01-constants.spec.ts Make the db module a singleton 2020-05-29 15:02:38 +01:00
02-db.spec.ts Make the db module a singleton 2020-05-29 15:02:38 +01:00
03-config.spec.ts Make the db module a singleton 2020-05-29 15:02:38 +01:00
04-service.spec.ts Update to @balena/lint 5.x 2020-05-15 12:08:42 +01:00
05-device-state.spec.ts Make the db module a singleton 2020-05-29 15:02:38 +01:00
06-iptables.spec.ts Remove legacy fallback to DROP rule in iptables 2020-05-05 12:15:19 +01:00
07-validation.spec.ts Correctly check if value is a valid Integer 2020-05-12 12:42:14 -04:00
08-blink.spec.ts Convert some coffeescript tests to typescript 2019-10-30 10:58:32 +00:00
09-event-tracker.spec.ts Update to @balena/lint 5.x 2020-05-15 12:08:42 +01:00
10-network.spec.ts Convert some coffeescript tests to typescript 2019-10-30 10:58:32 +00:00
11-api-binder.spec.ts Make the db module a singleton 2020-05-29 15:02:38 +01:00
12-logger.spec.js Update to @balena/lint 5.x 2020-05-15 12:08:42 +01:00
13-device-config.spec.ts Make the db module a singleton 2020-05-29 15:02:38 +01:00
14-application-manager.spec.ts Make the db module a singleton 2020-05-29 15:02:38 +01:00
15-conversions.spec.js Update to @balena/lint 5.x 2020-05-15 12:08:42 +01:00
16-ports.spec.ts Update to @balena/lint 5.x 2020-05-15 12:08:42 +01:00
17-config-utils.spec.js Update to @balena/lint 5.x 2020-05-15 12:08:42 +01:00
18-compose-network.js Update to @balena/lint 5.x 2020-05-15 12:08:42 +01:00
18-startup.ts Fixed stubs for test suite 2020-05-11 18:16:22 -04:00
19-compose-utils.js Update to @balena/lint 5.x 2020-05-15 12:08:42 +01:00
20-compose-volume.ts Update to @balena/lint 5.x 2020-05-15 12:08:42 +01:00
21-supervisor-api.spec.ts Improved handling of invalid appId in V2 state endpoint 2020-05-19 10:53:19 -04:00
22-api-binder.ts Convert device-state module to typescript 2020-02-25 14:50:21 +07:00
23-local-mode.ts Make the db module a singleton 2020-05-29 15:02:38 +01:00
24-contracts.ts Update to @balena/lint 5.x 2020-05-15 12:08:42 +01:00
25-deltas.spec.ts fix: ⬇️ Force a regular pull when moving from v2 to v3 deltas 2019-12-16 10:42:46 +00:00
26-journald.spec.ts Update to @balena/lint 5.x 2020-05-15 12:08:42 +01:00
27-supervisor-api-auth.spec.ts Improved handling of invalid appId in V2 state endpoint 2020-05-19 10:53:19 -04:00
fast-mocha.opts Remove CoffeeScript tests and all CoffeeScript tools 2020-05-15 13:01:51 -04:00
mocha.opts tests: Increase timeout for test suites 2018-11-06 15:27:58 +00:00