If you want to execute only single file then simply do:
npm run test:unit -t counter
OR
npm run test:unit counter
Whereas counter.spec.js is the my test file.
If you want to execute only single file then simply do:
npm run test:unit -t counter
OR
npm run test:unit counter
Whereas counter.spec.js is the my test file.