@@ -14,10 +14,10 @@ module.exports = {
1414 // cacheDirectory: "/tmp/jest_rs",
1515
1616 // Automatically clear mock calls and instances between every test
17- // clearMocks: false ,
17+ clearMocks : true ,
1818
1919 // Indicates whether the coverage information should be collected while executing the test
20- // collectCoverage: false ,
20+ collectCoverage : true ,
2121
2222 // An array of glob patterns indicating a set of files for which coverage information should be collected
2323 // collectCoverageFrom: undefined,
@@ -149,7 +149,7 @@ module.exports = {
149149 // snapshotSerializers: [],
150150
151151 // The test environment that will be used for testing
152- // testEnvironment: " jest-environment-jsdom" ,
152+ testEnvironment : ' jest-environment-jsdom' ,
153153
154154 // Options that will be passed to the testEnvironment
155155 // testEnvironmentOptions: {},
@@ -192,7 +192,7 @@ module.exports = {
192192 // '^.+\\.svg$': 'jest-svg-transformer',
193193 // '.+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub',
194194 '^.+\\.js$' : 'babel-jest' ,
195- '^.+\\.vue$' : 'vue-jest' ,
195+ '^.+\\.vue$' : '@ vue/vue3 -jest' ,
196196 } ,
197197
198198 // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
0 commit comments