19 lines
428 B
TypeScript
Executable file
19 lines
428 B
TypeScript
Executable file
// @ts-nocheck
|
|
import { defineConfig } from "vitest/config";
|
|
import path from "path";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: "happy-dom",
|
|
setupFiles: path.resolve(__dirname, "../../src/test/setup.ts"),
|
|
alias: {
|
|
"@test/utils": path.resolve(__dirname, "../../src/test/utils.tsx"),
|
|
},
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "src"),
|
|
},
|
|
},
|
|
});
|