aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/cli
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-07 10:33:49 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:17 +0200
commitae2abfd3aed3e75d39a316b49b914d187faa7475 (patch)
tree4d5060dc310f3d8cdcd5829779522f49b3d10e71 /server/tests/cli
parent9c6327f803aaf4200672f1fc40b2f43786daca47 (diff)
downloadPeerTube-ae2abfd3aed3e75d39a316b49b914d187faa7475.tar.gz
PeerTube-ae2abfd3aed3e75d39a316b49b914d187faa7475.tar.zst
PeerTube-ae2abfd3aed3e75d39a316b49b914d187faa7475.zip
Introduce plugins command
Diffstat (limited to 'server/tests/cli')
-rw-r--r--server/tests/cli/plugins.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/cli/plugins.ts b/server/tests/cli/plugins.ts
index efdc20748..7b8746a5d 100644
--- a/server/tests/cli/plugins.ts
+++ b/server/tests/cli/plugins.ts
@@ -6,8 +6,8 @@ import {
6 cleanupTests, 6 cleanupTests,
7 flushAndRunServer, 7 flushAndRunServer,
8 getConfig, 8 getConfig,
9 getPluginTestPath,
10 killallServers, 9 killallServers,
10 PluginsCommand,
11 reRunServer, 11 reRunServer,
12 ServerInfo, 12 ServerInfo,
13 setAccessTokensToServers 13 setAccessTokensToServers
@@ -27,7 +27,7 @@ describe('Test plugin scripts', function () {
27 it('Should install a plugin from stateless CLI', async function () { 27 it('Should install a plugin from stateless CLI', async function () {
28 this.timeout(60000) 28 this.timeout(60000)
29 29
30 const packagePath = getPluginTestPath() 30 const packagePath = PluginsCommand.getPluginTestPath()
31 31
32 await server.cliCommand.execWithEnv(`npm run plugin:install -- --plugin-path ${packagePath}`) 32 await server.cliCommand.execWithEnv(`npm run plugin:install -- --plugin-path ${packagePath}`)
33 }) 33 })