X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=.github%2FCONTRIBUTING.md;h=1256a02bdfecbfb1ede41705252c8137c40abf6d;hb=47e363bbe961c03c2a7d13b8da3de4b90047b002;hp=2af5c236ae753e60827937d5eb3ac918d67e5802;hpb=a3e6d181996075752b77e0d5a367b62cc45c731b;p=github%2FChocobozzz%2FPeerTube.git diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 2af5c236a..1256a02bd 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -83,8 +83,8 @@ and then clone the sources and install node modules: ``` $ git clone https://github.com/Chocobozzz/PeerTube -$ git remote add me git@github.com:YOUR_GITHUB_USERNAME/PeerTube.git $ cd PeerTube +$ git remote add me git@github.com:YOUR_GITHUB_USERNAME/PeerTube.git $ yarn install --pure-lockfile ``` @@ -192,7 +192,7 @@ $ npm test If you just want to run 1 test (which is what you want to debug a specific test rapidly): ``` -$ npm run mocha -- --exit -r ts-node/register -r tsconfig-paths/register --bail server/tests/api/index.ts +$ TS_NODE_FILES=true npm run mocha -- --exit -r ts-node/register -r tsconfig-paths/register --bail server/tests/api/videos/single-server.ts ``` Instance configurations are in `config/test-{1,2,3,4,5,6}.yaml`.