killall -q peertube || true
if [ "$1" = "misc" ]; then
- npm run build
+ npm run build -- --light-fr
mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/client.ts server/tests/activitypub.ts \
server/tests/feeds/index.ts
elif [ "$1" = "api" ]; then
( cd client
npm run lint
)
+elif [ "$1" = "jest" ]; then
+ ( cd client
+ npm run test
+ )
npm run tslint -- --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" "shared/**/*.ts"
fi