Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix tests

Chocobozzz1e3e64a679ef
diff --git a/scripts/ci.sh b/scripts/ci.sh
index 8fdbe8f26a..8b984093cf 100755
--- a/scripts/ci.sh
+++ b/scripts/ci.sh
@@ -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
diff --git a/server/tests/plugins/filter-hooks.ts b/server/tests/plugins/filter-hooks.ts
index 43749b0b55..a02a53c504 100644
--- a/server/tests/plugins/filter-hooks.ts
+++ b/server/tests/plugins/filter-hooks.ts
@@ -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)