Browse Source

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

Johan Ahlen 6 năm trước cách đây
mục cha
commit
96801be962
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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
 
+Run tests from a specific file once:
+
+    npm run test -- foo.test.js
+
 To run the tests in watch mode:
 
     npm run test-dev