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: