mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-09-19 09:40:13 +00:00
The dashboard embed pattern ignores hidden-only dist directories, so the CI backend stub must create visible index.html files. Keep the README in sync and exclude Playwright specs from Vitest so npm run test remains a unit-test command. Co-authored-by: naiba/CloudCode <hi+cloudcode@nai.ba> Co-authored-by: cloudcode <cloudcode@users.noreply.github.com>
16 lines
381 B
TypeScript
16 lines
381 B
TypeScript
import { defineConfig, mergeConfig } from "vitest/config"
|
|
|
|
import viteConfig from "./vite.config.ts"
|
|
|
|
export default mergeConfig(
|
|
viteConfig,
|
|
defineConfig({
|
|
test: {
|
|
environment: "jsdom",
|
|
exclude: ["tests/e2e/**", "node_modules/**", "dist/**"],
|
|
globals: true,
|
|
setupFiles: ["./src/test/setup.ts"],
|
|
},
|
|
}),
|
|
)
|