balena-supervisor/test/integration
Christina Ying Wang 8174ea9643 Simplify getting images for cleanup
getImagesForCleanup used to query the Engine for the Supervisor
image, which is unnecessary given that the Supervisor has access
to constants.supervisorImage. Thus, this Engine query is removed.

The method is simplified and made more clear, and
imageManager.isCleanupNeeded doesn't need to be stubbed in tests.

Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2022-11-16 12:52:49 -08:00
..
compose Simplify getting images for cleanup 2022-11-16 12:52:49 -08: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
device-state Migrate db-format tests to integration 2022-10-19 12:07:03 -03:00
lib Fix typo: intialise -> initialize 2022-11-07 12:09:17 -08:00
.mocharc.js Migrate config module tests to integration 2022-09-28 10:37:41 -03:00
config.spec.ts Change macAddressPath to /sys/class/net 2022-11-08 15:51:14 -08:00
db.spec.ts Migrate legacy db test to integration folder 2022-09-28 10:37:41 -03:00
device-config.spec.ts Migrate all device config tests to integration. 2022-11-14 11:12:52 -03:00
device-state.spec.ts Fix typo: intialise -> initialize 2022-11-07 12:09:17 -08:00
network.spec.ts Migrate API tests to unit/integration 2022-10-25 19:06:39 +00:00
supervisor.spec.ts Run the built supervisor as part of docker-compose tests 2022-11-03 15:45:39 -03:00