mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
test: fix embedding test for Windows
PR-URL: https://github.com/nodejs/node/pull/53659 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
342b501cb0
commit
0b3ae01131
@ -10,6 +10,7 @@ const {
|
||||
} = require('../common/child_process');
|
||||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
const os = require('os');
|
||||
|
||||
tmpdir.refresh();
|
||||
common.allowGlobals(global.require);
|
||||
@ -152,12 +153,6 @@ for (const extraSnapshotArgs of [
|
||||
{ cwd: tmpdir.path });
|
||||
}
|
||||
|
||||
// Skipping rest of the test on Windows because it fails in the CI
|
||||
// TODO(StefanStojanovic): Reenable rest of the test after fixing it
|
||||
if (common.isWindows) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Guarantee NODE_REPL_EXTERNAL_MODULE won't bypass kDisableNodeOptionsEnv
|
||||
{
|
||||
spawnSyncAndExit(
|
||||
@ -172,6 +167,6 @@ if (common.isWindows) {
|
||||
{
|
||||
status: 9,
|
||||
signal: null,
|
||||
stderr: `${binary}: NODE_REPL_EXTERNAL_MODULE can't be used with kDisableNodeOptionsEnv\n`,
|
||||
stderr: `${binary}: NODE_REPL_EXTERNAL_MODULE can't be used with kDisableNodeOptionsEnv${os.EOL}`,
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user