TDD: App-renders-ThothII test RED then GREEN. ShadCn v4 (base-nova style) init + button/checkbox/radio-group/textarea/card/dialog/badge/sonner added. tailwind.config.ts extended with oklch CSS-variable color mapping required by ShadCn v4 @apply directives. npm test passes; npm run build clean. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
19 lines
395 B
TypeScript
19 lines
395 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
import react from "@vitejs/plugin-react";
|
|
import path from "path";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "./src"),
|
|
},
|
|
},
|
|
test: {
|
|
environment: "jsdom",
|
|
globals: true,
|
|
setupFiles: ["./src/test/setup.ts"],
|
|
include: ["src/**/*.test.{ts,tsx}"],
|
|
},
|
|
});
|