]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/doc/development/tests.md
Fix tests doc
[github/Chocobozzz/PeerTube.git] / support / doc / development / tests.md
index d0e88a5ebd627dc641ad2d80ab39759d9c49dc55..d36cf8544f012ec67b4e10dcdaa49310f3cd51ff 100644 (file)
@@ -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: