feat: fix up jest tests

This commit is contained in:
Andrew Bastin
2021-09-10 17:50:22 +05:30
parent 05a07dc4a1
commit 36246da9e1
6 changed files with 35 additions and 10 deletions

View File

@@ -14,10 +14,6 @@ module.exports = {
setupFilesAfterEnv: ["<rootDir>/jest.setup.js"],
snapshotSerializers: ["jest-serializer-vue"],
collectCoverage: true,
collectCoverageFrom: [
"<rootDir>/components/**/*.vue",
"<rootDir>/pages/*.vue",
],
testURL: "http://localhost/",
preset: "ts-jest/presets/js-with-babel",
testEnvironment: "jsdom",