added force cleanup for network and cleanUp hook is cleaning up based on the label

This commit is contained in:
Nikola Jokic
2022-06-03 16:01:24 +02:00
parent 3ab4ae20f9
commit c65ec28bbb
4 changed files with 13 additions and 19 deletions

View File

@@ -4,7 +4,7 @@ jest.useRealTimers()
describe('container pull', () => {
it('should fail', async () => {
const arg = { image: 'doesNotExist' }
const arg = { image: 'does-not-exist' }
await expect(containerPull(arg.image, '')).rejects.toThrow()
})
it('should succeed', async () => {