diff --git a/test/parallel/test-startup-empty-regexp-statics.mjs b/test/parallel/test-startup-empty-regexp-statics.mjs index 20fd9d464d67e6..005fa86c6579f0 100644 --- a/test/parallel/test-startup-empty-regexp-statics.mjs +++ b/test/parallel/test-startup-empty-regexp-statics.mjs @@ -1,10 +1,13 @@ // We must load the CJS version here because the ESM wrapper call `hasIPv6` // which compiles a RegEx. // eslint-disable-next-line node-core/require-common-first -import '../common/index.js'; +import common from '../common/index.js'; import assert from 'node:assert'; +// TODO(aduh95): make this test pass on Windows. +if (common.isWindows) common.skip('Test fails on Windows'); + assert.strictEqual(RegExp.$_, ''); assert.strictEqual(RegExp.$0, undefined); assert.strictEqual(RegExp.$1, '');