aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorjw2552018-02-24 19:34:20 +0000
committerjw2552018-02-24 19:34:20 +0000
commit80f5aeb37b3d997015238173499f4a067ec0c266 (patch)
treee3c15df8099c861ba81758c62d92770e5d5d93ee /package.json
parentrestructuring of tests + yarn install script (diff)
downloadmedicine-80f5aeb37b3d997015238173499f4a067ec0c266.tar.gz
medicine-80f5aeb37b3d997015238173499f4a067ec0c266.zip

tests now actually test what they are supposed to and catch errors if needed

Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index ccdf7ad..26089b5 100644
--- a/package.json
+++ b/package.json
@@ -5,8 +5,8 @@
"license": "UNLICENSED",
"scripts": {
"test": "mocha --reporter spec -r ts-node/register './test/**/*.test.ts'",
- "test_routes": "mocha --reporter spec -r ts-node/register './test/**/*.routes.test.ts'",
- "test_unit": "mocha --reporter spec -r ts-node/register './test/**/*.unit.test.ts'",
+ "test:routes": "mocha --reporter spec -r ts-node/register './test/**/*.routes.test.ts'",
+ "test:unit": "mocha --reporter spec -r ts-node/register './test/**/*.unit.test.ts'",
"docs": "typedoc --out 'docs' --readme 'README.md' --name 'St Andrews Junior Honours 2017/18 - Team BE4' --module commonjs --target ES5 --exclude '*.test.ts' --includeDeclarations --excludeExternals 'src'",
"start": "ts-node src/index.ts",
"lint": "tslint --fix --force -p './tsconfig.json'",