MCPcopy Create free account
hub / github.com/anders-swanson/oracle-database-code-samples / route

Function route

website/tests/router.test.ts:5–10  ·  view source on GitHub ↗
(path: string, hash = '')

Source from the content-addressed store, hash-verified

3import { routes, scrollBehavior } from '../src/router';
4
5function route(path: string, hash = '') {
6 return {
7 path,
8 hash
9 } as RouteLocationNormalizedLoaded;
10}
11
12describe('router scroll behavior', () => {
13 it('registers generated landing page route patterns', () => {

Callers 1

router.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected