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
PR-URL: #46735
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
  • Loading branch information
theanarkh authored and targos committed Mar 13, 2023
1 parent f6bd145 commit 9c7a2e3
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 9c7a2e3

Please sign in to comment.