balena-supervisor/test/unit
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
..
compose Migrate docker-util tests 2022-10-19 12:05:52 -03:00
config Migrate all device config tests to integration. 2022-11-14 11:12:52 -03:00
device-api Migrate API tests to unit/integration 2022-10-25 19:06:39 +00:00
lib Migrate simple legacy tests to test/unit and test/integration 2022-10-18 20:36:53 -03:00
.mocharc.js Disable logs globally using mocha hooks 2022-09-28 10:37:41 -03:00
network.spec.ts Migrate simple legacy tests to test/unit and test/integration 2022-10-18 20:36:53 -03:00
types.spec.ts Fix withDefault type helper to work with boolean 2022-09-13 20:08:32 +00:00