balena-supervisor/test/lib
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
..
dbus Setup environment for dbus tests 2022-10-17 11:24:15 -03:00
application-state-mock.ts Refactor test suite to use tsconfig paths 2022-08-18 13:05:10 -04:00
chai.ts Create test/unit and test/integration folders 2022-08-24 14:28:36 -04:00
db-helper.ts Update @balena/lint to 6.2.0 2022-09-19 16:41:28 +01:00
docker-helper.ts Migrate docker-util tests 2022-10-19 12:05:52 -03:00
errors.ts Update typed-error to 3.x 2020-08-19 10:07:54 +01:00
helpers.ts Add toggleable SUPERVISOR_HARDWARE_METRICS config 2021-05-13 13:59:07 +09:00
legacy-mocha-hooks.ts Migrate API tests to unit/integration 2022-10-25 19:06:39 +00:00
mocha-hooks.ts Migrate API tests to unit/integration 2022-10-25 19:06:39 +00:00
mocked-balena-api.ts Consolidate API middlewares, move api-keys to device-api 2022-10-18 14:16:53 -07:00
mocked-device-api.ts Use v2 router directly instead of through application manager 2022-10-18 14:16:53 -07:00
mocked-dockerode.ts Improve NotFoundError handling 2022-11-08 15:41:52 -08:00
mocked-iptables.ts Migrate firewall tests to integration 2022-10-19 14:09:45 -03:00
mockerode.ts Update @balena/lint to 6.2.0 2022-09-19 16:41:28 +01:00
prepare.ts Update to typescript 4.8.2 2022-09-19 16:36:17 +01:00
wait-for-it.sh Migrate all device config tests to integration. 2022-11-14 11:12:52 -03:00