From 2e980ed30dc37061b467ebbb68094f830bffdb5d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 22 Jul 2021 12:07:26 +0200 Subject: Simplify createServer args --- server/tests/api/server/no-client.ts | 2 +- server/tools/test-live.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'server') diff --git a/server/tests/api/server/no-client.ts b/server/tests/api/server/no-client.ts index efa890ad4..719813ae9 100644 --- a/server/tests/api/server/no-client.ts +++ b/server/tests/api/server/no-client.ts @@ -9,7 +9,7 @@ describe('Start and stop server without web client routes', function () { before(async function () { this.timeout(30000) - server = await createSingleServer(1, {}, [ '--no-client' ]) + server = await createSingleServer(1, {}, { peertubeArgs: [ '--no-client' ] }) }) it('Should fail getting the client', function () { diff --git a/server/tools/test-live.ts b/server/tools/test-live.ts index 0cb0c3668..50dc04438 100644 --- a/server/tools/test-live.ts +++ b/server/tools/test-live.ts @@ -36,7 +36,7 @@ async function run () { console.log('Starting server.') - const server = await createSingleServer(1, {}, [], { hideLogs: false, execArgv: [ '--inspect' ] }) + const server = await createSingleServer(1, {}, { hideLogs: false, nodeArgs: [ '--inspect' ] }) const cleanup = async () => { console.log('Killing server') -- cgit v1.2.3