Commit 879c6f76 authored by Michael Underwood's avatar Michael Underwood
Browse files

Add vitest test coverage package

parent 07fc338a
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
  },
  "scripts": {
    "dev": "vite",
    "test": "vitest",
    "test": "vitest --coverage",
    "build": "run-p type-check build-only",
    "build-only": "vite build",
    "type-check": "vue-tsc --noEmit",
@@ -48,6 +48,7 @@
    "@types/leaflet": "^1.9.3",
    "@types/node": "^18.13.0",
    "@vitejs/plugin-vue": "^4.0.0",
    "@vitest/coverage-c8": "^0.29.3",
    "@vue/compiler-dom": "^3.2.47",
    "@vue/eslint-config-prettier": "^7.0.0",
    "@vue/eslint-config-typescript": "^11.0.2",
@@ -67,7 +68,7 @@
    "vite": "^4.1.1",
    "vite-plugin-dts": "^2.1.0",
    "vitepress": "^0.6.0",
    "vitest": "^0.28.5",
    "vitest": "~0.29.0",
    "vue-router": "^4.0.0-rc.5",
    "vue-tsc": "^1.0.24"
  },
+4 −0
Original line number Diff line number Diff line
@@ -11,6 +11,10 @@ export default mergeConfig(
      exclude: ["node_modules"],
      globals: true,
      environment: "jsdom",
      coverage: {
        provider: "c8",
        reporter: ["text", "json", "html"],
      },
    },
  })
);
+451 −108

File changed.

Preview size limit exceeded, changes collapsed.