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

File load.test.ts

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

Source from the content-addressed store, hash-verified

1import { describe, expect, test, vi } from 'vitest'
2import { createMemoryHistory } from '@tanstack/history'
3import {
4 BaseRootRoute,

Callers

nothing calls this directly

Calls 14

createMemoryHistoryFunction · 0.90
redirectFunction · 0.90
notFoundFunction · 0.90
loadMatchesFunction · 0.90
setupScenarioFunction · 0.85
runLoadMatchesAndCaptureFunction · 0.85
resolveMethod · 0.80
setStateMethod · 0.80
setupFunction · 0.70
sleepFunction · 0.70
getMethod · 0.65

Tested by

no test coverage detected