mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-15 19:01:04 -04:00
Address PR feedback
This commit is contained in:
@@ -7,6 +7,8 @@ let _location = {
|
||||
href: "https://www.notifications.service.gov.uk",
|
||||
}
|
||||
|
||||
// JSDOM provides a read-only window.location, which does not allow for
|
||||
// mocking or setting.
|
||||
Object.defineProperty(window, 'location', {
|
||||
get: () => _location,
|
||||
set: (value) => {
|
||||
|
||||
Reference in New Issue
Block a user