@@ -11,12 +11,16 @@ diff --git a/test/fixtures/test-runner/output/arbitrary-output-colored.js b/test
11
11
index af23e674cb361ed81dafa22670d5633559cd1144..1dd59990cb7cdba8aecf4f499ee6b92e7cd41b30 100644
12
12
--- a/test/fixtures/test-runner/output/arbitrary-output-colored.js
13
13
+++ 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');
15
15
(async function run() {
16
16
const test = fixtures.path('test-runner/output/arbitrary-output-colored-1.js');
17
17
const reset = fixtures.path('test-runner/output/reset-color-depth.js');
18
18
- 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');
20
19
+ 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
+ );
22
25
})().then(common.mustCall());
26
+
0 commit comments