MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / parser.spec.tsx

File parser.spec.tsx

core/src/components/router/test/parser.spec.tsx:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { mockWindow } from '@stencil/core/testing';
2
3import type { RouteRedirect, RouteTree } from '../utils/interface';
4import { flattenRouterTree, readRedirects, readRouteNodes } from '../utils/parser';

Callers

nothing calls this directly

Calls 5

readRouteNodesFunction · 0.90
readRedirectsFunction · 0.90
flattenRouterTreeFunction · 0.90
mockRouteElementFunction · 0.85
mockRedirectElementFunction · 0.85

Tested by

no test coverage detected