Exclude perf tests from Vitest default runs
- Keep `bun run test` focused on non-perf suites
This commit is contained in:
1 parent
4bf8d7b74c
commit
ad4eb99e22
1 file changed
+4
@@ -2,6 +2,7 @@ import tailwindcss from "@tailwindcss/vite";
|
||||
import react, { reactCompilerPreset } from "@vitejs/plugin-react";
|
||||
import babel from "@rolldown/plugin-babel";
|
||||
import { tanstackRouter } from "@tanstack/router-plugin/vite";
|
||||
import { configDefaults } from "vitest/config";
|
||||
import { defineConfig } from "vite";
|
||||
import pkg from "./package.json" with { type: "json" };
|
||||
|
||||
@@ -102,4 +103,7 @@ export default defineConfig({
|
||||
emptyOutDir: true,
|
||||
sourcemap: buildSourcemap,
|
||||
},
|
||||
test: {
|
||||
exclude: [...configDefaults.exclude, "test/perf/**/*.perf.test.ts"],
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user