// #region NavigationMock [C:2] [TYPE Module] [SEMANTICS mock, navigation, store, test, sveltekit]
// @BRIEF Mock for $app/navigation in vitest, supplying goto, push, replace, prefetch, and prefetchRoutes stubs.

// #region NavigationMock:Module [TYPE Function]
// @SEMANTICS: mock, navigation, sveltekit-v1-legacy-surface
// @PURPOSE: Mock for $app/navigation in tests
// @INVARIANT: Includes SvelteKit v1-only APIs (push, prefetchRoutes) as compatibility surface for legacy test consumers; keep until all imports migrate to SvelteKit v2-compatible mocks.
// @RELATION DEPENDS_ON -> [EXT:sveltekit:$app/navigation]
// @RELATION BINDS_TO -> [EXT:frontend:setupTests]

export const goto = () => Promise.resolve();
export const push = () => Promise.resolve();
export const replace = () => Promise.resolve();
export const prefetch = () => Promise.resolve();
export const prefetchRoutes = () => Promise.resolve();

// #endregion NavigationMock:Module
// #endregion NavigationMock
