Skip to content

Commit 47794ae

Browse files
darkodemicGuillaume Chau
authored and
Guillaume Chau
committed
fix(unit:jest): issue with Jest configuration regex not matching template. (#1756)
1 parent d5fc24f commit 47794ae

File tree

1 file changed

+1
-1
lines changed
  • packages/@vue/cli-plugin-unit-jest/generator

1 file changed

+1
-1
lines changed

packages/@vue/cli-plugin-unit-jest/generator/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = api => {
3131
'jest-serializer-vue'
3232
],
3333
'testMatch': [
34-
'<rootDir>/(tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx))'
34+
'<rootDir>/(tests/unit/*.spec.(js|jsx|ts|tsx)|**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx))'
3535
]
3636
}
3737

0 commit comments

Comments
 (0)