Set the jsdom URL search string before rendering the provider.
(search: string)
| 53 | |
| 54 | /** Set the jsdom URL search string before rendering the provider. */ |
| 55 | function setSearch(search: string) { |
| 56 | window.history.replaceState({}, '', `/${search}`) |
| 57 | } |
| 58 | |
| 59 | const STALE_SESSION: AppSession = { |
| 60 | user: { id: 'user-1', email: 'u@x.com', name: 'Stale plan' }, |
no outgoing calls
no test coverage detected