PeerTube/scripts/test.sh

11 lines
275 B
Bash
Raw Normal View History

#!/bin/bash
npm run build:server
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-10-09 15:55:13 +03:00
mocha --exit --require ts-node/register --bail server/tests/index.ts