mirror of
https://github.com/J3vb/OwnCord.git
synced 2026-09-03 03:50:00 +03:00
* refactor: move Client/tauri-client to Client (pure move, no content change) * refactor: re-point paths after the Client flatten (mechanical, no behaviour change) --------- Co-authored-by: Claude <noreply@anthropic.com>
28 lines
767 B
TypeScript
28 lines
767 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
import { playwright } from "@vitest/browser-playwright";
|
|
import { resolve } from "path";
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
"@lib": resolve(import.meta.dirname, "src/lib"),
|
|
"@stores": resolve(import.meta.dirname, "src/stores"),
|
|
"@components": resolve(import.meta.dirname, "src/components"),
|
|
"@pages": resolve(import.meta.dirname, "src/pages"),
|
|
"@styles": resolve(import.meta.dirname, "src/styles"),
|
|
},
|
|
},
|
|
test: {
|
|
browser: {
|
|
enabled: true,
|
|
provider: playwright(),
|
|
instances: [{ browser: "chromium" }],
|
|
},
|
|
include: ["tests/browser/**/*.test.ts"],
|
|
coverage: {
|
|
provider: "v8",
|
|
include: ["src/**/*.ts"],
|
|
},
|
|
},
|
|
});
|