aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/CONTRIBUTING.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 1256a02bd..f53dd6406 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -195,6 +195,12 @@ If you just want to run 1 test (which is what you want to debug a specific test
195$ TS_NODE_FILES=true npm run mocha -- --exit -r ts-node/register -r tsconfig-paths/register --bail server/tests/api/videos/single-server.ts 195$ TS_NODE_FILES=true npm run mocha -- --exit -r ts-node/register -r tsconfig-paths/register --bail server/tests/api/videos/single-server.ts
196``` 196```
197 197
198While testing, you might want to display a server's logs:
199
200```
201NODE_APP_INSTANCE=1 NODE_ENV=test npm run parse-log -- --level debug | less +GF
202```
203
198Instance configurations are in `config/test-{1,2,3,4,5,6}.yaml`. 204Instance configurations are in `config/test-{1,2,3,4,5,6}.yaml`.
199Note that only instance 2 has transcoding enabled. 205Note that only instance 2 has transcoding enabled.
200 206