Fix tests

This commit is contained in:
Chocobozzz 2023-03-27 08:43:50 +02:00
parent d91ce83d39
commit 1e3e64a679
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 5 additions and 1 deletions

View file

@ -56,6 +56,10 @@ elif [ "$1" = "client" ]; then
MOCHA_PARALLEL=true runTest "$1" $((2*$speedFactor)) $feedsFiles $helperFiles $miscFiles $pluginFiles $libFiles
elif [ "$1" = "cli-plugin" ]; then
# Simulate HTML
mkdir -p "./client/dist/en-US/"
cp "./client/src/index.html" "./client/dist/en-US/index.html"
npm run build:server
npm run setup:cli

View file

@ -32,7 +32,7 @@ describe('Test plugin filter hooks', function () {
let videoPlaylistUUID: string
before(async function () {
this.timeout(60000)
this.timeout(120000)
servers = await createMultipleServers(2)
await setAccessTokensToServers(servers)