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>
8 lines
216 B
TypeScript
8 lines
216 B
TypeScript
import { render, screen } from "@testing-library/react";
|
|
import { App } from "./App";
|
|
|
|
test("App renders the ThothII title", () => {
|
|
render(<App />);
|
|
expect(screen.getByText(/ThothII/i)).toBeInTheDocument();
|
|
});
|