X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Ftest.sh;h=b193a10bca1d9013bc6bbc2e8e01fe558b1004e8;hb=a8b5de6c670eb19ffbe40726bb60ef1d1dbc10dd;hp=6c6312d5268009446417f9ac3c3d97184bcbdd26;hpb=6fcd19ba737f1f5614a56c6925adb882dea43b8d;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/test.sh b/scripts/test.sh index 6c6312d52..b193a10bc 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -7,4 +7,4 @@ npm test || exit -1 cd .. || exit -1 npm run tslint -- --type-check --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" || exit -1 -mocha --bail server/tests +mocha --require ts-node/register --bail server/tests/index.ts