Эх сурвалжийг харах

HUE-9410. Doc changes for - Add unit testing base to vue components (sree)

sreenaths 5 жил өмнө
parent
commit
40f9a18fec

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

@@ -576,18 +576,18 @@ Re-building the collection of static files should fix it:
 
 ### Running the UI tests
 
-The tests are next to the file under test, the filename of the test has to end with `.test.js`.
+The tests are next to the file under test, the filename of the test has to end with `.test.ts` or `.test.js`.
 
     someFile.js         <- File under test
-    someFile.test.js    <- File containing tests
+    someFile.test.ts    <- File containing tests
 
 Run all the tests once with:
 
-    npm run test
+    npm test
 
 Run tests from a specific file once:
 
-    npm run test -- foo.test.js
+    npm test -- foo.test.js
 
 To run the tests in watch mode: