From abccf448d7bb4ce8e2dd1bcba7b2b37823741aeb Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Mon, 15 Jun 2020 11:30:10 +0800 Subject: [PATCH] refactor(jest): testMatch --- template/common/jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/common/jest.config.js b/template/common/jest.config.js index ccfbbbb..e8c411d 100644 --- a/template/common/jest.config.js +++ b/template/common/jest.config.js @@ -9,6 +9,6 @@ module.exports = { watchPathIgnorePatterns: ['/node_modules/', '/dist/', '/.git/'], moduleFileExtensions: ['js', 'json'], rootDir: __dirname, - testMatch: ['/src/__tests__/**/*spec.[jt]s?(x)'], + testMatch: ['/src/**/*test.[jt]s?(x)'], testPathIgnorePatterns: ['/node_modules/'] }