Files
admin-frontend-domain/vitest.config.ts
T
11e2f2ca80 ci(e2e): make backend stubs embeddable and keep vitest scoped
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>
2026-05-26 05:27:46 +00:00

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"],
},
}),
)