Compare commits

..

No commits in common. "71703e3330592a6564ec90cd86cce844eb49bf46" and "a6a501c8bdb391323d115c7e7d96c1a7953ab812" have entirely different histories.

5 changed files with 19 additions and 31 deletions

View file

@ -36,13 +36,10 @@ describe("imprint.tsx", () => {
// @ts-ignore
delete window.location;
Object.defineProperty(window, "location", {
configurable: true,
value: {
...window.location,
window.location = {
...location,
reload: jest.fn(),
},
});
};
});
it("Tests Imprint", () => {

View file

@ -48,13 +48,10 @@ describe("searchBar.tsx", () => {
// @ts-ignore
delete window.location;
Object.defineProperty(window, "location", {
configurable: true,
value: {
...window.location,
window.location = {
...location,
reload: jest.fn(),
},
});
};
});
it("Tests SearchBar rendering with properties", () => {

View file

@ -78,13 +78,10 @@ describe("settings.tsx", () => {
// @ts-ignore
delete window.location;
Object.defineProperty(window, "location", {
configurable: true,
value: {
...window.location,
window.location = {
...location,
reload: jest.fn(),
},
});
};
});
it("Tests forms", () => {

View file

@ -21,13 +21,10 @@ const setup = () => {
// @ts-ignore
delete window.location;
Object.defineProperty(window, "location", {
configurable: true,
value: {
...window.location,
window.location = {
...location,
reload: jest.fn(),
},
});
};
};
describe("theme.tsx", () => {

View file

@ -9920,9 +9920,9 @@ typedarray-to-buffer@^3.1.5:
is-typedarray "^1.0.0"
typescript@^5.2.2:
version "5.8.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.8.2.tgz#8170b3702f74b79db2e5a96207c15e65807999e4"
integrity sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==
version "5.7.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.3.tgz#919b44a7dbb8583a9b856d162be24a54bf80073e"
integrity sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==
unbox-primitive@^1.0.2:
version "1.0.2"