From 1b6b4757727da56061da0e17e7479f6062bb139f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 31 Oct 2017 17:33:23 +0100 Subject: Build server files before test the api --- scripts/test.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'scripts/test.sh') diff --git a/scripts/test.sh b/scripts/test.sh index 473445876..fbd62bff8 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -1,8 +1,6 @@ #!/bin/bash npm run build:server || exit -1 - -npm run travis -- client || exit -1 -npm run travis -- api || exit -1 -npm run travis -- cli || exit -1 npm run travis -- lint || exit -1 + +mocha --exit --require ts-node/register --bail server/tests/index.ts -- cgit v1.2.3