]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/server/no-client.ts
Add minimum bitrate limit
[github/Chocobozzz/PeerTube.git] / server / tests / api / server / no-client.ts
index efa890ad4f9e5ccee62f98a5fa3f7e15741067b7..1e0c95a3b12da4073dff662739527a7050d12ff5 100644 (file)
@@ -1,5 +1,5 @@
 import 'mocha'
-import * as request from 'supertest'
+import request from 'supertest'
 import { cleanupTests, createSingleServer, PeerTubeServer } from '@shared/extra-utils'
 import { HttpStatusCode } from '@shared/models'
 
@@ -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 () {