Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo authored Dec 6, 2021
1 parent 1ebe96b commit 5f42417
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,11 @@ afterEach(() => {
it('passes fork options down to worker_threads.Worker, adding the defaults', () => {
const thread = require.resolve('../threadChild');

process.execArgv = ['--inspect', '-p'];

// eslint-disable-next-line no-new
new Worker({
forkOptions: {
execPath: 'hello',
execArgv: ['--inspect', '-p']
},
maxRetries: 3,
workerData: {
Expand Down

0 comments on commit 5f42417

Please sign in to comment.