Fix tests
This commit is contained in:
parent
9270bd3a7e
commit
7298cad6ce
1 changed files with 4 additions and 2 deletions
|
@ -210,15 +210,17 @@ export class PeerTubeServer {
|
|||
Object.assign(env, options.env)
|
||||
}
|
||||
|
||||
const execArgv = options.nodeArgs || []
|
||||
execArgv.push('--enable-source-maps')
|
||||
|
||||
const forkOptions = {
|
||||
silent: true,
|
||||
env,
|
||||
detached: true,
|
||||
execArgv: options.nodeArgs || []
|
||||
execArgv
|
||||
}
|
||||
|
||||
const peertubeArgs = options.peertubeArgs || []
|
||||
peertubeArgs.push('--enable-source-maps')
|
||||
|
||||
return new Promise<void>((res, rej) => {
|
||||
const self = this
|
||||
|
|
Loading…
Reference in a new issue