From: Chocobozzz Date: Wed, 12 Feb 2020 09:36:37 +0000 (+0100) Subject: Update test contributing guide X-Git-Tag: v2.2.0-rc.1~498 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e5426b3fa433487c664761b7076321858365a168;p=oweals%2Fpeertube.git Update test contributing guide --- diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 820a5eecb..568b726a5 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -195,7 +195,7 @@ $ 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 +$ npm run mocha -- --exit -r ts-node/register -r tsconfig-paths/register --bail server/tests/api/index.ts ``` Instance configurations are in `config/test-{1,2,3,4,5,6}.yaml`.