From 0e1dc3e7c69995c691e1dd82e3c2bc68748661ca Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 4 Sep 2017 21:21:47 +0200 Subject: Convert tests to typescript --- scripts/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/test.sh') diff --git a/scripts/test.sh b/scripts/test.sh index 6c6312d52..b193a10bc 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -7,4 +7,4 @@ 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 --bail server/tests +mocha --require ts-node/register --bail server/tests/index.ts -- cgit v1.2.3