]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/test.sh
Add get old comment on follow tests
[github/Chocobozzz/PeerTube.git] / scripts / test.sh
index 93dbd82001fdefb396d115e15043311a07ef1bdd..fbd62bff8942d8ea27e05575b6349fdd863cc9f3 100755 (executable)
@@ -1,8 +1,6 @@
-#!/usr/bin/env sh
+#!/bin/bash
 
-cd client || exit -1
-npm test
+npm run build:server || exit -1
+npm run travis -- lint || exit -1
 
-cd .. || exit -1
-standard
-mocha server/tests
+mocha --exit --require ts-node/register --bail server/tests/index.ts