MCPcopy
hub / github.com/TanStack/router / hydrate.test.ts

File hydrate.test.ts

packages/router-core/tests/hydrate.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
2import { createMemoryHistory } from '@tanstack/history'
3import { BaseRootRoute, BaseRoute, RouterCore, notFound } from '../src'
4import { hydrate } from '../src/ssr/client'

Callers

nothing calls this directly

Calls 5

createMemoryHistoryFunction · 0.90
hydrateFunction · 0.90
dehydrateSsrMatchIdFunction · 0.90
notFoundFunction · 0.90
getMethod · 0.65

Tested by

no test coverage detected