The best way to run jest unit tests is yarn unit.
It will run vue-cli-service test:unit \\.unit\\.js$.
Why filter again on \\.unit\\.js$? The jest.config.js testMatch param seems to be the same.
What am I missing?
If we remove the filter here, it allows users to do the classic
yarn unit button
very useful to run a subset of the tests instead of the whole suite.
The best way to run jest unit tests is
yarn unit
. It will runvue-cli-service test:unit \\.unit\\.js$
. Why filter again on\\.unit\\.js$
? The jest.config.jstestMatch
param seems to be the same.What am I missing?
If we remove the filter here, it allows users to do the classic
very useful to run a subset of the tests instead of the whole suite.
Thank you for your answers.