54d83cc6b9
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
15 lines
425 B
TypeScript
15 lines
425 B
TypeScript
import { fileURLToPath } from "node:url";
|
||
import { defineConfig } from "vitest/config";
|
||
|
||
export default defineConfig({
|
||
resolve: {
|
||
alias: { "@": fileURLToPath(new URL("./src", import.meta.url)) },
|
||
},
|
||
test: {
|
||
environment: "node",
|
||
include: ["src/**/*.test.ts", "scripts/**/*.test.ts"],
|
||
// "server-only" paketi test ortamında hata fırlatmasın.
|
||
server: { deps: { inline: ["server-only"] } },
|
||
},
|
||
});
|