aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/tests/api/server/no-client.ts2
-rw-r--r--server/tools/test-live.ts2
2 files changed, 2 insertions, 2 deletions
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 () {
9 before(async function () { 9 before(async function () {
10 this.timeout(30000) 10 this.timeout(30000)
11 11
12 server = await createSingleServer(1, {}, [ '--no-client' ]) 12 server = await createSingleServer(1, {}, { peertubeArgs: [ '--no-client' ] })
13 }) 13 })
14 14
15 it('Should fail getting the client', function () { 15 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 () {
36 36
37 console.log('Starting server.') 37 console.log('Starting server.')
38 38
39 const server = await createSingleServer(1, {}, [], { hideLogs: false, execArgv: [ '--inspect' ] }) 39 const server = await createSingleServer(1, {}, { hideLogs: false, nodeArgs: [ '--inspect' ] })
40 40
41 const cleanup = async () => { 41 const cleanup = async () => {
42 console.log('Killing server') 42 console.log('Killing server')