X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fcli%2Fpeertube.ts;h=7a712bc4e9466493f80eeda48dc5a4089dc091a9;hb=e5cb43e071924b8cbc77731d3a0511b4f7bcff9d;hp=548fd12579446c75980d1947754efbbdd4d9b197;hpb=0491173a61aed66205c017e0d7e0503ea316c144;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/cli/peertube.ts b/server/tests/cli/peertube.ts index 548fd1257..7a712bc4e 100644 --- a/server/tests/cli/peertube.ts +++ b/server/tests/cli/peertube.ts @@ -40,10 +40,12 @@ describe('Test CLI wrapper', function () { this.timeout(60000) const env = getEnvCli(server) - const stdout = await execCLI(`${env} ` + cmd + ` auth add --url ${server.url} -U user_1 -p "super password"`) + await execCLI(`${env} ` + cmd + ` auth add --url ${server.url} -U user_1 -p "super password"`) }) after(async function () { + this.timeout(10000) + await execCLI(cmd + ` auth del ${server.url}`) killallServers([ server ])