This commit is contained in:
xiongxiao
2026-03-26 00:00:19 +08:00
committed by cnb
commit 4cd5c7ac22
97 changed files with 2804 additions and 0 deletions

18
vitest.config.ts Normal file
View File

@@ -0,0 +1,18 @@
import { defineConfig } from "vitest/config";
import { fileURLToPath } from "url";
import { resolve } from "path";
const __dirname = fileURLToPath(new URL(".", import.meta.url));
export default defineConfig({
test: {
globals: true,
environment: "node",
include: ["src/**/*.test.ts"],
},
resolve: {
alias: {
"@": resolve(__dirname, "src"),
},
},
});