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

Function getEvents

testing/e2e/tests/tools-test/runtime-context.spec.ts:49–52  ·  view source on GitHub ↗
(page: Page)

Source from the content-addressed store, hash-verified

47}
48
49async function getEvents(page: Page) {
50 const text = await page.locator('#event-log-json').textContent()
51 return z.array(ToolEventSchema).parse(JSON.parse(text || '[]'))
52}
53
54test.describe('Runtime Context E2E Tests', () => {
55 test('server context is available to server tools', async ({

Callers 1

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected