()
| 6 | const mockLocation = {}; |
| 7 | Object.defineProperty(mockLocation, 'hash', { |
| 8 | get() { |
| 9 | return mockHash; |
| 10 | }, |
| 11 | set(newHash) { |
| 12 | mockHash = newHash; |
| 13 | window.dispatchEvent(new HashChangeEvent('hashchange')); |
no outgoing calls
no test coverage detected