Skip to content

Commit

Permalink
skip tet on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Jul 12, 2022
1 parent e401ec9 commit 8e7dda1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion 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, '');
Expand Down

0 comments on commit 8e7dda1

Please sign in to comment.