1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 10:49:28 +02:00

Introduce plugins command

This commit is contained in:
Chocobozzz 2021-07-07 10:33:49 +02:00
parent 9c6327f803
commit ae2abfd3ae
No known key found for this signature in database
GPG key ID: 583A612D890159BE
26 changed files with 480 additions and 765 deletions

View file

@ -6,8 +6,8 @@ import {
cleanupTests,
flushAndRunServer,
getConfig,
getPluginTestPath,
killallServers,
PluginsCommand,
reRunServer,
ServerInfo,
setAccessTokensToServers
@ -27,7 +27,7 @@ describe('Test plugin scripts', function () {
it('Should install a plugin from stateless CLI', async function () {
this.timeout(60000)
const packagePath = getPluginTestPath()
const packagePath = PluginsCommand.getPluginTestPath()
await server.cliCommand.execWithEnv(`npm run plugin:install -- --plugin-path ${packagePath}`)
})