Skip to content

Commit 9c7a2e3

Browse files
theanarkhtargos
authored andcommitted
test: fix test-v8-collect-gc-profile-in-worker.js
PR-URL: #46735 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent f6bd145 commit 9c7a2e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-v8-collect-gc-profile-in-worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ require('../common');
44
const { Worker } = require('worker_threads');
55
const { testGCProfiler } = require('../common/v8');
66

7-
if (process.env.isWorker) {
7+
if (!process.env.isWorker) {
88
process.env.isWorker = 1;
99
new Worker(__filename);
1010
} else {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy