* This function emulates the $browser.state() function from AngularJS. It will cause * history.state to be cached unless changed with deep equality check.
()
| 334 | * history.state to be cached unless changed with deep equality check. |
| 335 | */ |
| 336 | private browserState(): unknown { |
| 337 | return this.cachedState; |
| 338 | } |
| 339 | |
| 340 | private stripBaseUrl(base: string, url: string) { |
| 341 | if (url.startsWith(base)) { |
no outgoing calls
no test coverage detected