We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7871c5c commit 2c61d23Copy full SHA for 2c61d23
packages/@vue/cli-plugin-unit-jest/index.js
@@ -18,8 +18,8 @@ module.exports = api => {
18
const jestBinPath = require.resolve('jest/bin/jest')
19
20
let testMatch = []
21
- if (!args._.length && api.hasPlugin('typescript')) {
22
- testMatch = [`--testMatch`, `<rootDir>/test/unit/**/*.spec.(ts|tsx|js)`]
+ if (!args._.length) {
+ testMatch = [`--testMatch`, `<rootDir>/(test/unit/**/*.spec.(ts|tsx|js)|**/__tests__/*.(ts|tsx|js))`]
23
}
24
25
const argv = [
0 commit comments