chore(test): load Vitest config as ESM

This commit is contained in:
2026-08-29 06:07:04 +00:00 Unverified
parent 5cdd1a0272
commit 239b247949
+17
View File
@@ -0,0 +1,17 @@
import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
environment: "node",
coverage: {
provider: "v8",
reporter: ["text", "json-summary"],
include: ["lib/**/*.ts"],
},
},
resolve: {
alias: {
"@": new URL("./", import.meta.url).pathname,
},
},
});