- ChatSpecCard.test.tsx — 9 it.todo() entries covering spec card behaviors - ChatHandoffIndicator.test.tsx — 3 it.todo() entries - ChatTaskCreatedBadge.test.tsx — 4 it.todo() entries - ChatStatusUpdateBadge.test.tsx — 3 it.todo() entries - useBrainstormerDefault.test.ts — 4 it.todo() entries - All 23 todo tests found and skipped by vitest (0 failures)
14 lines
662 B
TypeScript
14 lines
662 B
TypeScript
// @vitest-environment jsdom
|
|
import { describe, it } from "vitest";
|
|
|
|
describe("ChatSpecCard", () => {
|
|
it.todo("renders four spec sections: What, Why, Constraints, Success");
|
|
it.todo("parses JSON content and displays field values");
|
|
it.todo("shows error fallback on JSON parse failure");
|
|
it.todo("Send to PM button calls onHandoff with spec content");
|
|
it.todo("Edit button switches to textarea edit mode");
|
|
it.todo("Save changes button disabled when all fields empty");
|
|
it.todo("Discard button reverts to read-only mode");
|
|
it.todo("Save as Draft button adds [Draft] badge");
|
|
it.todo("renders with role=region and aria-label=Specification");
|
|
});
|