Skip to content

Commit

Permalink
chore: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pikax committed Apr 24, 2021
1 parent 6f31250 commit f5d933f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ module.exports = {
"<rootDir>/packages/axios/__tests__/setupTest.js",
"<rootDir>/packages/cookie/__tests__/setupTest.js",
],
moduleNameMapper:
process.env.VUE === "2"
? {}
: {
"^vue$": "@vue/runtime-core",
},
coverageDirectory: "coverage",
coverageReporters: ["html", "lcov", "text"],
collectCoverageFrom: ["src/**/*.ts", "packages/*/src/**/*.ts"],
Expand Down

0 comments on commit f5d933f

Please sign in to comment.