MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / render

Function render

graph-ui/src/why/WhyPanel.test.tsx:33–37  ·  view source on GitHub ↗
(onChoose = vi.fn(), onDecline = vi.fn())

Source from the content-addressed store, hash-verified

31});
32
33async function render(onChoose = vi.fn(), onDecline = vi.fn()): Promise<void> {
34 await act(async () => {
35 root.render(<WhyPanel project="atlas-sample" onChoose={onChoose} onDecline={onDecline} />);
36 });
37}
38
39const cards = (): HTMLButtonElement[] =>
40 [...container.querySelectorAll<HTMLButtonElement>('[data-testid="atlas-why-card"]')];

Callers 1

WhyPanel.test.tsxFile · 0.70

Calls 1

renderMethod · 0.65

Tested by

no test coverage detected