web: move to vitest

This commit is contained in:
2026-08-04 03:02:09 +02:00
parent eabcd47bfd
commit 6370373f0d
6 changed files with 1228 additions and 17 deletions
+13
View File
@@ -0,0 +1,13 @@
import { fileURLToPath } from "node:url";
import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
include: ["src/**/*.test.{ts,tsx}"],
},
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", import.meta.url)),
},
},
});