Skip to content

Commit ac53405

Browse files
committed
test: make unit tests pass
1 parent 6ca7e29 commit ac53405

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

jest.config.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,17 @@ module.exports = {
44
"^.+\\.vue$": "vue-jest",
55
".+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$":
66
"jest-transform-stub",
7-
"^.+\\.jsx?$": "babel-jest"
7+
"^.+\\.jsx?$": "babel-jest",
88
},
99
transformIgnorePatterns: ["/node_modules/"],
1010
moduleNameMapper: {
11-
"^@/(.*)$": "<rootDir>/src/$1"
11+
"^@/(.*)$": "<rootDir>/src/$1",
1212
},
1313
snapshotSerializers: ["jest-serializer-vue"],
14-
testMatch: [
15-
"**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)"
16-
],
14+
testMatch: ["**/__tests__/*.(js|jsx|ts|tsx)"],
1715
testURL: "http://localhost/",
1816
watchPlugins: [
1917
"jest-watch-typeahead/filename",
20-
"jest-watch-typeahead/testname"
21-
]
18+
"jest-watch-typeahead/testname",
19+
],
2220
};

0 commit comments

Comments
 (0)