chore(deps): update dependency typescript to v5.8.2 #431

Merged
tom merged 2 commits from renovate/typescript-5.x-lockfile into master 2025-03-06 12:54:23 +01:00
4 changed files with 28 additions and 16 deletions
Showing only changes of commit 0ce4b39a53 - Show all commits

View file

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

View file

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

View file

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

View file

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