test: wrong spawn cmd
This commit is contained in:
parent
b62ec7fb74
commit
44cd795ef5
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ fs.writeFileSync(sessionPath, JSON.stringify(session))
|
|||
|
||||
var {spawn} = require('child_process')
|
||||
|
||||
var proc = spawn('npx', `xvfb-run npm start -- -l ${sessionPath}`.split(' '), {detached: true})
|
||||
var proc = spawn('xvfb-run', `npm start -- -l ${sessionPath}`.split(' '), {detached: true})
|
||||
|
||||
proc.stdout.on('data', std)
|
||||
proc.stderr.on('data', std)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue