Reloads the current page. A named seam over window.location.reload() so tests can stub it (jsdom can't navigate, and its location can't be redefined).
window.location.reload()
location
Nothing; the page reloads as a side effect.
reloadPage(); // the extension page reloads Copy
reloadPage(); // the extension page reloads
export function reloadPage(): void { window.location.reload();} Copy
export function reloadPage(): void { window.location.reload();}
Reloads the current page. A named seam over
window.location.reload()so tests can stub it (jsdom can't navigate, and itslocationcan't be redefined).