vitest.config.ts
Rama main · réplica de lectura del repositorio original.
import { defineConfig } from "vitest/config";
import { fileURLToPath } from "node:url";
export default defineConfig({
test: {
environment: "node",
include: ["tests/**/*.test.ts"],
setupFiles: ["tests/setup.ts"],
globalSetup: ["tests/globalSetup.ts"],
},
resolve: {
alias: { "@": fileURLToPath(new URL("./src", import.meta.url)) },
},
});