Update defineProperty to make jest-dom happy
This commit is contained in:
parent
2fb5d4b684
commit
b3e1b5cb6a
1 changed files with 2 additions and 0 deletions
|
|
@ -88,6 +88,8 @@ Object.defineProperty(window, "location", {
|
||||||
value: {
|
value: {
|
||||||
origin: "http://localhost:3000",
|
origin: "http://localhost:3000",
|
||||||
},
|
},
|
||||||
|
configurable: true,
|
||||||
|
writable: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
describe("AuthDebugger", () => {
|
describe("AuthDebugger", () => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue