diff options
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 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 | ||
198 | While testing, you might want to display a server's logs: | ||
199 | |||
200 | ``` | ||
201 | NODE_APP_INSTANCE=1 NODE_ENV=test npm run parse-log -- --level debug | less +GF | ||
202 | ``` | ||
203 | |||
198 | Instance configurations are in `config/test-{1,2,3,4,5,6}.yaml`. | 204 | Instance configurations are in `config/test-{1,2,3,4,5,6}.yaml`. |
199 | Note that only instance 2 has transcoding enabled. | 205 | Note that only instance 2 has transcoding enabled. |
200 | 206 | ||