From e20c671e3e37db2722766a2e4c9c884b38e2eff6 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Mon, 28 Feb 2022 10:06:30 +0100 Subject: [PATCH] chore: stop skipping detect open handles test (#12514) --- e2e/__tests__/detectOpenHandles.ts | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/e2e/__tests__/detectOpenHandles.ts b/e2e/__tests__/detectOpenHandles.ts index 860f5368c6df..08c6b8c96b1d 100644 --- a/e2e/__tests__/detectOpenHandles.ts +++ b/e2e/__tests__/detectOpenHandles.ts @@ -7,19 +7,6 @@ import runJest, {runContinuous} from '../runJest'; -try { - require('async_hooks'); -} catch (e: any) { - if (e.code === 'MODULE_NOT_FOUND') { - // eslint-disable-next-line jest/no-focused-tests - fit('skip test for unsupported nodes', () => { - console.warn('Skipping test for node ' + process.version); - }); - } else { - throw e; - } -} - function getTextAfterTest(stderr: string) { return (stderr.split(/Ran all test suites(.*)\n/)[2] || '').trim(); }