Skip to content

Commit e20c671

Browse files
authored
chore: stop skipping detect open handles test (#12514)
1 parent 1125f2f commit e20c671

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

e2e/__tests__/detectOpenHandles.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,6 @@
77

88
import runJest, {runContinuous} from '../runJest';
99

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-
2310
function getTextAfterTest(stderr: string) {
2411
return (stderr.split(/Ran all test suites(.*)\n/)[2] || '').trim();
2512
}

0 commit comments

Comments
 (0)