We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1125f2f commit e20c671Copy full SHA for e20c671
e2e/__tests__/detectOpenHandles.ts
@@ -7,19 +7,6 @@
7
8
import runJest, {runContinuous} from '../runJest';
9
10
-try {
11
- require('async_hooks');
12
-} catch (e: any) {
13
- if (e.code === 'MODULE_NOT_FOUND') {
14
- // eslint-disable-next-line jest/no-focused-tests
15
- fit('skip test for unsupported nodes', () => {
16
- console.warn('Skipping test for node ' + process.version);
17
- });
18
- } else {
19
- throw e;
20
- }
21
-}
22
-
23
function getTextAfterTest(stderr: string) {
24
return (stderr.split(/Ran all test suites(.*)\n/)[2] || '').trim();
25
}
0 commit comments