projects
/
oweals
/
peertube.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add history on server side
[oweals/peertube.git]
/
scripts
/
test.sh
diff --git
a/scripts/test.sh
b/scripts/test.sh
index 93dbd82001fdefb396d115e15043311a07ef1bdd..cf88953652f512f3f4311fc9cbca54ec126acb64 100755
(executable)
--- a/
scripts/test.sh
+++ b/
scripts/test.sh
@@
-1,8
+1,8
@@
-#!/
usr/bin/env
sh
+#!/
bin/
sh
-cd client || exit -1
-npm test
+set -eu
-cd .. || exit -1
-standard
-mocha server/tests
+npm run build:server
+npm run travis -- lint
+
+mocha --exit --require ts-node/register/type-check --bail server/tests/index.ts