()
| 12 | ]; |
| 13 | |
| 14 | const hasWindow = () => typeof window !== 'undefined'; |
| 15 | const hasLocation = () => hasWindow() && typeof window.location !== 'undefined'; |
| 16 | const hasHistory = () => hasWindow() && typeof window.history?.replaceState === 'function'; |
| 17 | const hasLocalStorage = () => hasWindow() && typeof window.localStorage !== 'undefined'; |
no outgoing calls
no test coverage detected