]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/server/no-client.ts
Simplify createServer args
[github/Chocobozzz/PeerTube.git] / server / tests / api / server / no-client.ts
index efa890ad4f9e5ccee62f98a5fa3f7e15741067b7..719813ae904a602115b221903a8fc0a32f00f812 100644 (file)
@@ -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 () {