We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aad388b commit 3046a33Copy full SHA for 3046a33
bin/electron-mocha
@@ -35,9 +35,12 @@ function run (electron) {
35
...process.argv.slice(2)
36
]
37
38
- let child = spawn(electron, args, {
39
- stdio: 'inherit'
40
- })
+ let child = spawn(electron, args)
+
+ // stdio 'inherit' not work reliably in Renderer!
41
+ child.stdout.pipe(process.stdout)
42
+ child.stderr.pipe(process.stderr)
43
+ process.stdin.pipe(child.stdin)
44
45
child.on('exit', (code, signal) => {
46
if (signal) {
test/mocha.opts
@@ -1,2 +1,3 @@
1
+--color
2
--require test/support/require
3
--require-main test/support/requireMain
0 commit comments