PeerTube/scripts/test.sh

9 lines
214 B
Bash
Raw Normal View History

#!/usr/bin/env sh
cd client || exit -1
2017-04-26 22:52:49 +03:00
npm test || exit -1
cd .. || exit -1
npm run tslint -- --type-check --project ./tsconfig.json -c ./tslint.json server.ts server/**/*.ts || exit -1
2017-06-24 11:37:43 +03:00
mocha --bail server/tests