X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=support%2Fdoc%2Fdevelopment%2Ftests.md;h=d36cf8544f012ec67b4e10dcdaa49310f3cd51ff;hb=11e520b50d791a0dd48cbb2d0fc681b25eb7cd53;hp=d0e88a5ebd627dc641ad2d80ab39759d9c49dc55;hpb=9883e60f307c8161ef694b8fc209b857b196add0;p=github%2FChocobozzz%2FPeerTube.git diff --git a/support/doc/development/tests.md b/support/doc/development/tests.md index d0e88a5eb..d36cf8544 100644 --- a/support/doc/development/tests.md +++ b/support/doc/development/tests.md @@ -42,7 +42,7 @@ $ npm run test # See scripts/test.sh to run a particular suite Most of tests can be runned using: ```bash -TS_NODE_TRANSPILE_ONLY=true mocha -- --timeout 30000 --exit -r ts-node/register -r tsconfig-paths/register --bail server/tests/api/videos/video-transcoder.ts +TS_NODE_TRANSPILE_ONLY=true npm run mocha -- --timeout 30000 --exit -r ts-node/register -r tsconfig-paths/register --bail server/tests/api/videos/video-transcoder.ts ``` `server/tests/api/activitypub` tests will need different options: