Skip to content

Commit

Permalink
chore: fix vitest performance with spec tests artifacts in place (#6817)
Browse files Browse the repository at this point in the history
Fix vitest performance with spec tests in place
  • Loading branch information
nazarhussain committed May 24, 2024
1 parent 95ce044 commit 4bf2585
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vitest.base.unit.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ export default defineConfig({
pool: "threads",
include: ["**/*.test.ts"],
exclude: [
"**/spec-tests/**",
"**/spec-tests-bls/**",
"**/*.browser.test.ts",
"**/node_modules/**",
"**/dist/**",
Expand Down Expand Up @@ -39,6 +41,8 @@ export default defineConfig({
"**/types/**",
"**/bin/**",
"**/node_modules/**",
"**/spec-tests/**",
"**/spec-tests-bls/**",
],
},
diff: process.env.TEST_COMPACT_DIFF ? path.join(import.meta.dirname, "./scripts/vitest/vitest.diff.ts") : undefined,
Expand Down

0 comments on commit 4bf2585

Please sign in to comment.