summaryrefslogtreecommitdiff
path: root/test/sequential/test-inspector-enabled.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/sequential/test-inspector-enabled.js')
-rw-r--r--test/sequential/test-inspector-enabled.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/sequential/test-inspector-enabled.js b/test/sequential/test-inspector-enabled.js
index a7a0832793..f14e7c17d8 100644
--- a/test/sequential/test-inspector-enabled.js
+++ b/test/sequential/test-inspector-enabled.js
@@ -20,7 +20,10 @@ assert(
`;
const args = ['--inspect', '-e', script];
-const child = spawn(process.execPath, args, { stdio: 'inherit' });
+const child = spawn(process.execPath, args, {
+ stdio: 'inherit',
+ env: { ...process.env, NODE_V8_COVERAGE: '' }
+});
child.on('exit', (code, signal) => {
process.exit(code || signal);
});