From cde1092229f0243d5cd07e37431691e699771225 Mon Sep 17 00:00:00 2001 From: Nazar Hussain Date: Fri, 24 May 2024 16:46:04 +0200 Subject: [PATCH] Fix vitest performance with spec tests in place --- vitest.base.unit.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vitest.base.unit.config.ts b/vitest.base.unit.config.ts index 776d05d2614..cc123e81dff 100644 --- a/vitest.base.unit.config.ts +++ b/vitest.base.unit.config.ts @@ -7,6 +7,8 @@ export default defineConfig({ pool: "threads", include: ["**/*.test.ts"], exclude: [ + "**/spec-tests/**", + "**/spec-tests-bls/**", "**/*.browser.test.ts", "**/node_modules/**", "**/dist/**", @@ -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,