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

Function runGenerationHook

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

Source from the content-addressed store, hash-verified

65}
66
67export async function runGenerationHook(page: Page, hookName: string) {
68 await waitForDevtoolsHarness(page)
69 const card = generationCard(page, hookName)
70 await card.getByTestId(`run-${hookName}`).click()
71 await expect(card.getByTestId('generation-hook-status')).toHaveText('success')
72}
73
74export async function waitForAllGenerationHooks(page: Page, outputCount = 1) {
75 const cards = page.getByTestId('generation-hook-card')

Callers

nothing calls this directly

Calls 2

waitForDevtoolsHarnessFunction · 0.85
generationCardFunction · 0.85

Tested by

no test coverage detected