diff --git a/package.json b/package.json index 31f0efa..388f180 100644 --- a/package.json +++ b/package.json @@ -62,5 +62,5 @@ "source": "src/index.js", "type": "module", "types": "types.d.ts", - "version": "0.0.47" + "version": "0.0.48" } diff --git a/vitest.config.js b/vitest.config.js index 4745c5c..7424fe6 100644 --- a/vitest.config.js +++ b/vitest.config.js @@ -4,12 +4,19 @@ import { defineConfig } from "vite"; export default defineConfig({ test: { coverage: { - reporter: [["lcov", { projectRoot: "./src" }]], + include: ["src/**/*.js"], + exclude: [ + "src/**/*.spec.ts", + "src/**/index.js", + "src/**/types.d.ts", + "src/**/README.md", + ], + reporter: ["lcov", "text"], thresholds: { - statements: 56, - branches: 46, - functions: 36, - lines: 56, + statements: 60, + branches: 79, + functions: 66, + lines: 60, }, }, environment: "jsdom",