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 // @ts-ignore
delete window.location; delete window.location;
window.location = { Object.defineProperty(window, "location", {
...location, configurable: true,
value: {
...window.location,
reload: jest.fn(), reload: jest.fn(),
}; },
});
}); });
it("Tests Imprint", () => { it("Tests Imprint", () => {

View file

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

View file

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

View file

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