[CI > Test] Fix trying to use stdout in xvfb-run
This commit is contained in:
parent
dc69b4899a
commit
985effeed3
|
@ -1,7 +1,7 @@
|
||||||
const { execFile } = require('child_process');
|
const { execFile } = require('child_process');
|
||||||
|
|
||||||
const test = () => {
|
const test = () => {
|
||||||
const proc = execFile('xvfb-run', ['-e', '/dev/stdout', process.argv[2], '--enable-logging']);
|
const proc = execFile('xvfb-run', [process.argv[2], '--enable-logging']);
|
||||||
|
|
||||||
let success = false;
|
let success = false;
|
||||||
proc.stderr.on('data', (data) => {
|
proc.stderr.on('data', (data) => {
|
||||||
|
|
Loading…
Reference in New Issue