diff options
| author | jw255 | 2018-03-03 16:18:01 +0000 |
|---|---|---|
| committer | jw255 | 2018-03-03 16:18:01 +0000 |
| commit | 407a5a3c6c1d6d4c170d7646f921bb6f2fb2f380 (patch) | |
| tree | 75fb490f319f9bab9bdbd3445ca2eb9a3768745d /package.json | |
| parent | pulled latest files from trh/payload-checker (diff) | |
| download | medicine-407a5a3c6c1d6d4c170d7646f921bb6f2fb2f380.tar.gz medicine-407a5a3c6c1d6d4c170d7646f921bb6f2fb2f380.zip | |
now compiles. also added stubs for database testing
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/package.json b/package.json index 8359cf3..6ffbd00 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,11 @@ "main": "index.ts", "license": "UNLICENSED", "scripts": { - "test": "mocha --reporter spec -r ts-node/register './**/*.test.ts'", + "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:db": "mocha --reporter spec -r ts-node/register './test/**/*database.unit.test.ts'", + "test:routes:index": "mocha --reporter spec -r ts-node/register './test/**/*index.routes.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'", @@ -45,6 +49,7 @@ "@types/passport": "^0.4.2", "@types/passport-local": "^1.0.32", "@types/sequelize": "^4.27.5", + "@types/supertest": "^2.0.4", "@types/uuid": "^3.4.3", "body-parser": "^1.18.2", "express": "^4.16.2", @@ -59,6 +64,7 @@ "reflect-metadata": "^0.1.12", "sequelize": "^4.32.7", "sequelize-typescript": "^0.6.2", + "supertest": "^3.0.0", "ts-node": "^3.3.0", "typescript": "^2.7.1", "uuid": "^3.2.1", |
