Skip to content

Commit 5aa4556

Browse files
committed
test: remove redundant afterAll hook
1 parent 4ee7751 commit 5aa4556

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

test/integration/kubernetes.spec.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -437,12 +437,6 @@ test('snyk-monitor scans DeploymentConfigs', async () => {
437437
});
438438

439439
test('snyk-monitor pulls images from a local registry and sends data to kubernetes-upstream', async () => {
440-
afterAll(async () => {
441-
console.log('Begin removing local container registry...');
442-
await setup.removeLocalContainerRegistry();
443-
console.log('Removed local container registry');
444-
});
445-
446440
if (process.env['TEST_PLATFORM'] !== 'kind') {
447441
console.log(
448442
"Not testing local container registry because we're not running in KinD",

test/system/kind.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ const existsAsync = promisify(exists);
2525
* Error: Client network socket disconnected before secure TLS connection was established
2626
*/
2727
import { state as kubernetesMonitorState } from '../../src/state';
28-
import { tmpdir } from 'os';
2928

3029
async function tearDown() {
3130
console.log('Begin removing the snyk-monitor...');

0 commit comments

Comments
 (0)