feat: add vitest, vite, move to tdd

This commit is contained in:
2026-07-13 07:07:44 +05:00
parent 4704a1d5a0
commit 62862beb06
18 changed files with 2043 additions and 346 deletions
+15
View File
@@ -0,0 +1,15 @@
import { defineConfig } from "vitest/config";
import path from "path";
export default defineConfig({
test: {
include: ["src/**/*.test.ts", "tests/**/*.test.ts"],
exclude: ["node_modules", "out"],
environment: "node",
},
resolve: {
alias: {
"@": path.resolve(__dirname, "src"),
},
},
});