Files
snapcad-studio/tests/vitest.config.ts
T

17 lines
346 B
TypeScript
Raw Permalink Normal View History

2026-06-14 22:05:58 +03:00
import path from "node:path";
import { defineConfig } from "vitest/config";
2026-06-14 22:13:13 +03:00
const rootDir = path.resolve(__dirname, "..");
2026-06-14 22:05:58 +03:00
export default defineConfig({
2026-06-14 22:13:13 +03:00
root: rootDir,
2026-06-14 22:05:58 +03:00
resolve: {
alias: {
2026-06-14 22:13:13 +03:00
"@": path.resolve(rootDir, "apps/web/src"),
2026-06-14 22:05:58 +03:00
},
},
test: {
environment: "node",
2026-06-14 22:13:13 +03:00
include: ["tests/unit/**/*.test.ts"],
2026-06-14 22:05:58 +03:00
},
});