1
0
Fork 0
This commit is contained in:
Chocobozzz 2017-11-30 13:16:23 +01:00
parent 1b5b10d131
commit 98ec8b8e73
No known key found for this signature in database
GPG key ID: 583A612D890159BE
14 changed files with 31 additions and 23 deletions

View file

@ -5,9 +5,9 @@ if [ $# -eq 0 ]; then
exit -1
fi
if [ "$1" = "client" ]; then
if [ "$1" = "misc" ]; then
npm run build
mocha --exit --require ts-node/register --bail server/tests/client.ts
mocha --exit --require ts-node/register --bail server/tests/client.ts server/tests/activitypub.ts
elif [ "$1" = "api" ]; then
npm run build:server
mocha --exit --require ts-node/register --bail server/tests/api/index.ts