Skip to content

Commit

Permalink
fixup! fixup! test,debugger: migrate node-inspect tests to core
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Apr 14, 2021
1 parent b5d9d70 commit 6f758c2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/inspector-cli/test-inspector-cli-auto-resume.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ addLibraryPath(process.env);
const scriptFullPath = fixtures.path('inspector-cli', 'break.js');
const script = path.relative(process.cwd(), scriptFullPath);

const cli = startCLI([script], [], {
env: { NODE_INSPECT_RESUME_ON_START: '1' }
});
const env = { ...process.env };
env.NODE_INSPECT_RESUME_ON_START = '1';

const cli = startCLI([script], [], { env });

cli.waitForInitialBreak()
.then(() => {
Expand Down

0 comments on commit 6f758c2

Please sign in to comment.