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

Function expectHookNames

testing/e2e/tests/devtools-helpers.ts:43–48  ·  view source on GitHub ↗
(page: Page, names: Array<string>)

Source from the content-addressed store, hash-verified

41}
42
43export async function expectHookNames(page: Page, names: Array<string>) {
44 await expect(hookRows(page)).toHaveCount(names.length)
45 for (const name of names) {
46 await expect(hookRow(page, name)).toBeVisible()
47 }
48}
49
50export async function expectNoHookName(page: Page, name: string) {
51 await expect(hookRows(page).filter({ hasText: name })).toHaveCount(0)

Calls 2

hookRowsFunction · 0.85
hookRowFunction · 0.85

Tested by

no test coverage detected