Skip to content

Commit

Permalink
test: fix test-v8-collect-gc-profile-in-worker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
theanarkh committed Feb 23, 2023
1 parent 9e06ef0 commit d3d115d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-v8-collect-gc-profile-in-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require('../common');
const { Worker } = require('worker_threads');
const { testGCProfiler } = require('../common/v8');

if (process.env.isWorker) {
if (!process.env.isWorker) {
process.env.isWorker = 1;
new Worker(__filename);
} else {
Expand Down

0 comments on commit d3d115d

Please sign in to comment.