Files
shadcn-ui/packages/tests/vitest.config.ts
shadcn 873f7f2773 feat: add tests package (#7907)
* feat: add tests package

* fix

* fix

* debug

* debug

* debug

* fix

* debug

* fix: no concurrent

* fix

* test: add vite-app tests

* test: add tests
2025-07-29 16:31:10 +04:00

20 lines
397 B
TypeScript

import tsconfigPaths from "vite-tsconfig-paths"
import { defineConfig } from "vitest/config"
export default defineConfig({
test: {
testTimeout: 60000,
hookTimeout: 120000,
globals: true,
environment: "node",
setupFiles: ["./src/utils/setup.ts"],
maxConcurrency: 4,
isolate: true,
},
plugins: [
tsconfigPaths({
ignoreConfigErrors: true,
}),
],
})