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 TestNavigationControllerA class that encapsulates the current navigation location, simulating browser-like behavior.