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)
|
Object.assign(env, options.env)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const execArgv = options.nodeArgs || []
|
||||||
|
execArgv.push('--enable-source-maps')
|
||||||
|
|
||||||
const forkOptions = {
|
const forkOptions = {
|
||||||
silent: true,
|
silent: true,
|
||||||
env,
|
env,
|
||||||
detached: true,
|
detached: true,
|
||||||
execArgv: options.nodeArgs || []
|
execArgv
|
||||||
}
|
}
|
||||||
|
|
||||||
const peertubeArgs = options.peertubeArgs || []
|
const peertubeArgs = options.peertubeArgs || []
|
||||||
peertubeArgs.push('--enable-source-maps')
|
|
||||||
|
|
||||||
return new Promise<void>((res, rej) => {
|
return new Promise<void>((res, rej) => {
|
||||||
const self = this
|
const self = this
|
||||||
|
|
Loading…
Reference in a new issue