userNavigation
Sets the provided location immediately, simulating external navigation.
userNavigation(pageId: string, detail?: string): void
Notes
- The provided target is added to the location history for the application context, and is not checked for correctness.
- To simulate programmatic navigation behavior, use the navigateAsync() method instead.
Related
- class TestNavigationControllerA class that encapsulates the current navigation location, simulating browser-like behavior.