()
| 203 | // gate on this so users on browsers we don't ship for never get dragged into |
| 204 | // a flow that can never complete for them. Only Chrome and Edge ship today. |
| 205 | export const isExtensionCapableBrowser = (): boolean => { |
| 206 | const name = getCurrentBrowserName(); |
| 207 | return name === BrowserName.Chrome || name === BrowserName.Edge; |
| 208 | }; |
| 209 | |
| 210 | export const shuffleArray = <T>(array: T[]): T[] => { |
| 211 | const newArray = array.slice(); |
no test coverage detected