generated from nhcarrigan/template
a3daed1683
Sets up the full monorepo with pnpm workspaces. Includes shared types package, Hono API with Discord OAuth/JWT auth, Prisma v6 + MongoDB Atlas, and React + Vite frontend with game loop, five tabs, and Discord-linked save/load.
20 lines
448 B
TypeScript
20 lines
448 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: "jsdom",
|
|
coverage: {
|
|
provider: "v8",
|
|
include: ["src/**/*.ts", "src/**/*.tsx"],
|
|
exclude: ["src/types/**/*.ts", "src/main.tsx"],
|
|
thresholds: {
|
|
statements: 100,
|
|
branches: 100,
|
|
functions: 100,
|
|
lines: 100,
|
|
},
|
|
},
|
|
include: ["test/**/*.spec.ts", "test/**/*.spec.tsx"],
|
|
},
|
|
});
|