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 e401ec9 commit 8e7dda1Copy full SHA for 8e7dda1
test/parallel/test-startup-empty-regexp-statics.mjs
@@ -1,10 +1,13 @@
1
// We must load the CJS version here because the ESM wrapper call `hasIPv6`
2
// which compiles a RegEx.
3
// eslint-disable-next-line node-core/require-common-first
4
-import '../common/index.js';
+import common from '../common/index.js';
5
6
import assert from 'node:assert';
7
8
+// TODO(aduh95): make this test pass on Windows.
9
+if (common.isWindows) common.skip('Test fails on Windows');
10
+
11
assert.strictEqual(RegExp.$_, '');
12
assert.strictEqual(RegExp.$0, undefined);
13
assert.strictEqual(RegExp.$1, '');
0 commit comments