From 76434ec8e3877a62eae5bb1c26a26d2a2d619a51 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 19 Apr 2018 16:23:09 +0200 Subject: Add doc to run only one unit test --- .github/CONTRIBUTING.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.github/CONTRIBUTING.md') 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: $ npm run build $ npm test ``` + +If you just want to run 1 test: + +``` +$ npm run mocha -- --exit --require ts-node/register/type-check --bail server/tests/api/index.ts +``` -- cgit v1.2.3