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