Organize test files

This commit is contained in:
Formsmith
2026-06-14 22:13:39 +03:00
parent 753a1c2833
commit 4ba8cb723c
7 changed files with 17 additions and 11 deletions
+17
View File
@@ -0,0 +1,17 @@
import path from "node:path";
import { defineConfig } from "vitest/config";
const rootDir = path.resolve(__dirname, "..");
export default defineConfig({
root: rootDir,
resolve: {
alias: {
"@": path.resolve(rootDir, "apps/web/src"),
},
},
test: {
environment: "node",
include: ["tests/unit/**/*.test.ts"],
},
});