MCPcopy Index your code
hub / github.com/TanStack/ai / generationCard

Function generationCard

testing/e2e/tests/devtools-helpers.ts:61–65  ·  view source on GitHub ↗
(page: Page, hookName: string)

Source from the content-addressed store, hash-verified

59}
60
61export function generationCard(page: Page, hookName: string): Locator {
62 return page.locator(
63 `[data-testid="generation-hook-card"][data-hook-name="${hookName}"]`,
64 )
65}
66
67export async function runGenerationHook(page: Page, hookName: string) {
68 await waitForDevtoolsHarness(page)

Calls

no outgoing calls

Tested by

no test coverage detected