@@ -11,12 +11,16 @@ diff --git a/test/fixtures/test-runner/output/arbitrary-output-colored.js b/test
1111index af23e674cb361ed81dafa22670d5633559cd1144..1dd59990cb7cdba8aecf4f499ee6b92e7cd41b30 100644
1212--- a/test/fixtures/test-runner/output/arbitrary-output-colored.js
1313+++ b/test/fixtures/test-runner/output/arbitrary-output-colored.js
14- @@ -7,6 +7,6 @@ const fixtures = require('../../../common/fixtures');
14+ @@ -7,9 +7,9 @@ const fixtures = require('../../../common/fixtures');
1515 (async function run() {
1616 const test = fixtures.path('test-runner/output/arbitrary-output-colored-1.js');
1717 const reset = fixtures.path('test-runner/output/reset-color-depth.js');
1818- await once(spawn(process.execPath, ['-r', reset, '--test', test], { stdio: 'inherit' }), 'exit');
19- - await once(spawn(process.execPath, ['-r', reset, '--test', '--test-reporter', 'tap', test], { stdio: 'inherit' }), 'exit');
2019+ await once(spawn(process.execPath, ['-r', reset, '--test', test], { stdio: 'inherit', env: { ELECTRON_RUN_AS_NODE: 1 }}), 'exit');
21- + await once(spawn(process.execPath, ['-r', reset, '--test', '--test-reporter', 'tap', test], { stdio: 'inherit', env: { ELECTRON_RUN_AS_NODE: 1 } }), 'exit');
20+ await once(
21+ - spawn(process.execPath, ['-r', reset, '--test', '--test-reporter', 'tap', test], { stdio: 'inherit' }),
22+ + spawn(process.execPath, ['-r', reset, '--test', '--test-reporter', 'tap', test], { stdio: 'inherit', env: { ELECTRON_RUN_AS_NODE: 1 }}),
23+ 'exit',
24+ );
2225 })().then(common.mustCall());
26+
0 commit comments