balena-supervisor/test/legacy
pipex 827f892c13 Migrate all device config tests to integration.
This means that configuration backend tests no longer use stubs and
(mostly) avoid internal dependencies in the tests. Instead of stubs and
mock-fs, the tests use [testfs](https://github.com/balena-io-modules/mocha-pod#working-with-the-filesystem)
which allows working with a real filesystem and ensuring everything is
re-set between tests.

This is the last change needed in order to be able to merge #1971. Here is the list of changes

- [x] Migrate splash image backend tests
- [x] Migrate extlinux backend tests
- [x] Migrate config.txt backend tests
- [x] Migrate extra-uenv config tests
- [x] Migrate odmdata config tests
- [x] Migrate config utils tests
- [x] Migrate device-config tests

Change-type: patch
2022-11-14 11:12:52 -03:00
..
.mocharc.js Make dbus module side-effect free to not interfere with unit tests 2022-10-18 14:27:19 -07:00
10-api-binder.spec.ts Change macAddressPath to /sys/class/net 2022-11-08 15:51:14 -08:00
11-logger.spec.ts Update @balena/lint to 6.2.0 2022-09-19 16:41:28 +01:00
22-local-mode.spec.ts Update @balena/lint to 6.2.0 2022-09-19 16:41:28 +01:00
40-target-state.spec.ts Move the current test suite under test/legacy 2022-08-22 17:21:51 -04:00
41-device-api-v1.spec.ts Fix locking stubs that were returning Bluebird rather than Promise 2022-11-11 16:52:19 +00:00
42-device-api-v2.spec.ts Fix locking stubs that were returning Bluebird rather than Promise 2022-11-11 16:52:19 +00:00
fixtures.ts Make dbus module side-effect free to not interfere with unit tests 2022-10-18 14:27:19 -07:00