diff options
-rw-r--r-- | .github/CONTRIBUTING.md | 6 | ||||
-rw-r--r-- | package.json | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 5a484fbbd..3c8e6413c 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md | |||
@@ -146,3 +146,9 @@ Build the application and run the unit/integration tests: | |||
146 | $ npm run build | 146 | $ npm run build |
147 | $ npm test | 147 | $ npm test |
148 | ``` | 148 | ``` |
149 | |||
150 | If you just want to run 1 test: | ||
151 | |||
152 | ``` | ||
153 | $ npm run mocha -- --exit --require ts-node/register/type-check --bail server/tests/api/index.ts | ||
154 | ``` | ||
diff --git a/package.json b/package.json index 6a6275fb9..5f7299b9d 100644 --- a/package.json +++ b/package.json | |||
@@ -47,6 +47,7 @@ | |||
47 | "nodemon": "nodemon", | 47 | "nodemon": "nodemon", |
48 | "ts-node": "ts-node", | 48 | "ts-node": "ts-node", |
49 | "tslint": "tslint", | 49 | "tslint": "tslint", |
50 | "mocha": "mocha", | ||
50 | "travis": "scripty", | 51 | "travis": "scripty", |
51 | "release": "scripty", | 52 | "release": "scripty", |
52 | "client-report": "scripty" | 53 | "client-report": "scripty" |