Browse Source

HUE-9090 [docs] Add details on running specific js test files to the docs

Johan Ahlen 6 years ago
parent
commit
96801be962
1 changed files with 4 additions and 0 deletions
  1. 4 0
      docs/docs-site/content/developer/development/_index.md

+ 4 - 0
docs/docs-site/content/developer/development/_index.md

@@ -564,6 +564,10 @@ Run all the tests once with:
 
 
     npm run test
     npm run test
 
 
+Run tests from a specific file once:
+
+    npm run test -- foo.test.js
+
 To run the tests in watch mode:
 To run the tests in watch mode:
 
 
     npm run test-dev
     npm run test-dev