userNavigation()
Sets the provided location immediately, simulating external navigation.
userNavigation(path: 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 TestNavigationContext
A class that encapsulates the current navigation location, simulating browser-like behavior.
