Skip to content

Commit

Permalink
fixup! skip tests that are hopeless
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Sep 29, 2024
1 parent 1c336ad commit ab286ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/parallel/test-snapshot-child-process-sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// This tests that process.cwd() is accurate when
// restoring state from a snapshot

require('../common');
const { isInsideDirWithUnusualChars, spawnSyncAndAssert } = require('../common/child_process');
const { isInsideDirWithUnusualChars } = require('../common');
const { spawnSyncAndAssert } = require('../common/child_process');
const tmpdir = require('../common/tmpdir');
const fixtures = require('../common/fixtures');
const assert = require('assert');
Expand All @@ -14,7 +14,7 @@ const blobPath = tmpdir.resolve('snapshot.blob');
const file = fixtures.path('snapshot', 'child-process-sync.js');
const expected = [
'From child process spawnSync',
'From child process execSync',
...(isInsideDirWithUnusualChars ? [] : ['From child process execSync']),
'From child process execFileSync',
];

Expand Down

0 comments on commit ab286ac

Please sign in to comment.