Update tests

This commit is contained in:
phntxx 2021-06-21 20:29:31 +02:00
parent 1385bf7dcc
commit 4eb0027c31
2 changed files with 2 additions and 1 deletions

View file

@ -26,6 +26,8 @@ const props: IImprintProps = {
}; };
describe("imprint.tsx", () => { describe("imprint.tsx", () => {
const location: Location = window.location;
beforeEach(() => { beforeEach(() => {
// @ts-ignore // @ts-ignore
delete window.location; delete window.location;

View file

@ -71,7 +71,6 @@ const propsList = [
describe("settings.tsx", () => { describe("settings.tsx", () => {
const location: Location = window.location; const location: Location = window.location;
8;
beforeEach(() => { beforeEach(() => {
// @ts-ignore // @ts-ignore