diff options
| author | Tom Harley | 2018-03-06 16:59:39 +0000 |
|---|---|---|
| committer | Tom Harley | 2018-03-06 16:59:39 +0000 |
| commit | 375da6ab2d518665415eacca85d5c0bb8b72a885 (patch) | |
| tree | c2ad547542878b6725d8a77dbbda826d04adf3f3 /package.json | |
| parent | Merge branch 'trh/payload-checker' of gitlab.cs.st-andrews.ac.uk:cs3099group-... (diff) | |
| parent | Merge branch 'trh/payload-checker' into testing-middleware (diff) | |
| download | medicine-375da6ab2d518665415eacca85d5c0bb8b72a885.tar.gz medicine-375da6ab2d518665415eacca85d5c0bb8b72a885.zip | |
Merge ‘origin/testing-middleware’ into trh/payload-checker
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/package.json b/package.json index ecc5756..e0aa817 100644 --- a/package.json +++ b/package.json @@ -4,10 +4,15 @@ "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:auth": "mocha --reporter spec -r ts-node/register './test/**/*auth.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'", + "lint:tests": "tslint --fix --force ./test/**/*", "_gl-lint": "tslint -p './tsconfig.json'" }, "repository": { @@ -46,6 +51,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", "@types/winston": "^2.3.8", "body-parser": "^1.18.2", @@ -63,6 +69,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", |
