Skip to content

Commit 66767c0

Browse files
committed
chore: swallow cleanup failures more neatly
1 parent dbeab3a commit 66767c0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/integration/kubernetes.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ tap.test('deploy snyk-monitor', async (t) => {
3838
try {
3939
// attempt to clean up ...
4040
await tearDown();
41+
} catch (teardownError) {
42+
// ignore cleanup errors
4143
} finally {
4244
// ... but make sure the test suite doesn't proceed if the setup failed
4345
process.exit(-1);

0 commit comments

Comments
 (0)