mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-05-23 22:21:00 +08:00
e6f91541a3
- Add zh/en/ja translations for pricing defaults config - Add translations for multiplier, requestModel, responseModel - Add provider pricing config translations
21 lines
445 B
TypeScript
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"],
|
|
},
|
|
},
|
|
});
|