mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-02-09 02:49:29 +08:00
* feat: add tests package * fix * fix * debug * debug * debug * fix * debug * fix: no concurrent * fix * test: add vite-app tests * test: add tests
20 lines
397 B
TypeScript
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,
|
|
}),
|
|
],
|
|
})
|