Skip to content

Commit

Permalink
fix: vitest exclude e2e directory
Browse files Browse the repository at this point in the history
  • Loading branch information
hmerritt committed Jan 31, 2024
1 parent a174737 commit 4c9f473
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,14 @@ export default defineConfig({
environment: "happy-dom",
setupFiles: "./src/tests/setupTests.ts",
css: true, // @Note Parsing CSS is slow
exclude: ["node_modules", "tests-e2e", "dist", ".idea", ".git", ".cache"],
coverage: {
enabled: false,
provider: "v8"
},
benchmark: {
include: ["**/*.{bench,benchmark}.?(c|m)[jt]s?(x)"],
exclude: ["node_modules", "dist", ".idea", ".git", ".cache"]
exclude: ["node_modules", "tests-e2e", "dist", ".idea", ".git", ".cache"]
},
// Debug
logHeapUsage: true
Expand Down

0 comments on commit 4c9f473

Please sign in to comment.