mirror of https://github.com/Chocobozzz/PeerTube
Fix tests
parent
d91ce83d39
commit
1e3e64a679
|
@ -56,6 +56,10 @@ elif [ "$1" = "client" ]; then
|
||||||
|
|
||||||
MOCHA_PARALLEL=true runTest "$1" $((2*$speedFactor)) $feedsFiles $helperFiles $miscFiles $pluginFiles $libFiles
|
MOCHA_PARALLEL=true runTest "$1" $((2*$speedFactor)) $feedsFiles $helperFiles $miscFiles $pluginFiles $libFiles
|
||||||
elif [ "$1" = "cli-plugin" ]; then
|
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 build:server
|
||||||
npm run setup:cli
|
npm run setup:cli
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ describe('Test plugin filter hooks', function () {
|
||||||
let videoPlaylistUUID: string
|
let videoPlaylistUUID: string
|
||||||
|
|
||||||
before(async function () {
|
before(async function () {
|
||||||
this.timeout(60000)
|
this.timeout(120000)
|
||||||
|
|
||||||
servers = await createMultipleServers(2)
|
servers = await createMultipleServers(2)
|
||||||
await setAccessTokensToServers(servers)
|
await setAccessTokensToServers(servers)
|
||||||
|
|
Loading…
Reference in New Issue