userBack()
Removes the last path in navigation history immediately, simulating external ‘back’ navigation.
userBack(): void;
Notes
- 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.
