1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

Fix CI tests

This commit is contained in:
Chocobozzz 2023-06-06 11:14:13 +02:00
parent 881958d179
commit c37e305342
No known key found for this signature in database
GPG key ID: 583A612D890159BE
41 changed files with 133 additions and 72 deletions

View file

@ -237,7 +237,7 @@ export class PeerTubeServer {
}
// Share the environment
const env = Object.create(process.env)
const env = { ...process.env }
env['NODE_ENV'] = 'test'
env['NODE_APP_INSTANCE'] = this.internalServerNumber.toString()
env['NODE_CONFIG'] = JSON.stringify(configOverride)