aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/test.sh
blob: b193a10bca1d9013bc6bbc2e8e01fe558b1004e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

npm run build:server

cd client || exit -1
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 --require ts-node/register --bail server/tests/index.ts