Skip to content

Commit 8e7dda1

Browse files
committed
skip tet on Windows
1 parent e401ec9 commit 8e7dda1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/parallel/test-startup-empty-regexp-statics.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
// We must load the CJS version here because the ESM wrapper call `hasIPv6`
22
// which compiles a RegEx.
33
// eslint-disable-next-line node-core/require-common-first
4-
import '../common/index.js';
4+
import common from '../common/index.js';
55

66
import assert from 'node:assert';
77

8+
// TODO(aduh95): make this test pass on Windows.
9+
if (common.isWindows) common.skip('Test fails on Windows');
10+
811
assert.strictEqual(RegExp.$_, '');
912
assert.strictEqual(RegExp.$0, undefined);
1013
assert.strictEqual(RegExp.$1, '');

0 commit comments

Comments
 (0)