Files
cc-switch/vitest.config.ts
T
YoVinchen e6f91541a3 feat(i18n): add pricing config translations
- Add zh/en/ja translations for pricing defaults config
- Add translations for multiplier, requestModel, responseModel
- Add provider pricing config translations
2026-01-26 01:41:13 +08:00

21 lines
445 B
TypeScript

import path from "node:path";
import { defineConfig } from "vitest/config";
import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
test: {
environment: "jsdom",
setupFiles: ["./tests/setupGlobals.ts", "./tests/setupTests.ts"],
globals: true,
coverage: {
reporter: ["text", "lcov"],
},
},
});