What do you want to save?
Add Code snippet
New code examples
-
Other 2021-11-05 04:17:06
npm run only one test
n order to run a specific test, you'll need to use the jest command. npm test will not work. To access jest directly on the command line, install it via npm i -g jest-cli or yarn global add jest-cli. Then simply run your specific test with jest bar.spec.... Add solution
Best helpers
+10
+5
+5
+5
+5
+5
+5
+5
+5
+5