diff options
author | Chocobozzz <me@florianbigard.com> | 2018-04-19 16:23:09 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-04-19 16:23:09 +0200 |
commit | 76434ec8e3877a62eae5bb1c26a26d2a2d619a51 (patch) | |
tree | 9e420ad7beddd3cdf8c52b832391b98929ced1cd /.github/CONTRIBUTING.md | |
parent | 6cced8f9155175184341416cf5b8d1698f641eb7 (diff) | |
download | PeerTube-76434ec8e3877a62eae5bb1c26a26d2a2d619a51.tar.gz PeerTube-76434ec8e3877a62eae5bb1c26a26d2a2d619a51.tar.zst PeerTube-76434ec8e3877a62eae5bb1c26a26d2a2d619a51.zip |
Add doc to run only one unit test
Diffstat (limited to '.github/CONTRIBUTING.md')
-rw-r--r-- | .github/CONTRIBUTING.md | 6 |
1 files changed, 6 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 | ``` | ||