balena-supervisor/test/integration/compose
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
..
application-manager.spec.ts Simplify getting images for cleanup 2022-11-16 12:52:49 -08:00
commit.spec.ts Migrate simple legacy tests to test/unit and test/integration 2022-10-18 20:36:53 -03:00
images.spec.ts Migrate tests for image manager 2022-09-28 10:37:41 -03:00
network.spec.ts Create default network as config-only when services have host networking 2022-11-16 10:19:36 -08:00
service.spec.ts Access api-key methods through device API 2022-10-18 14:27:19 -07:00
volume-manager.spec.ts Migrate tests for image manager 2022-09-28 10:37:41 -03:00
volume.spec.ts Split compose/volume tests into unit/integration 2022-09-28 10:37:40 -03:00