Skip to content

Commit 09ed1af

Browse files
authored
chore: skip flaky test on Node 22 as well (#14989)
1 parent b3093f6 commit 09ed1af

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/jest-worker/src/workers/__tests__/WorkerEdgeCases.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ const processChildWorkerPath = join(
2828
);
2929
const threadChildWorkerPath = join(writeDestination, 'workers/threadChild.js');
3030

31-
if (process.platform === 'win32' && process.version.startsWith('v21.')) {
31+
// https://github.com/nodejs/node/issues/51766
32+
if (
33+
process.platform === 'win32' &&
34+
(process.version.startsWith('v21.') || process.version.startsWith('v22.'))
35+
) {
3236
// eslint-disable-next-line jest/no-focused-tests
3337
test.only('skipping test on broken platform', () => {
3438
console.warn('Skipping test on broken platform');

0 commit comments

Comments
 (0)