fix(ui): fix builds

This commit is contained in:
Łukasz Mierzwa
2022-11-14 16:19:36 +00:00
committed by Łukasz Mierzwa
parent c1be4e4100
commit b170a6c058
+2 -2
View File
@@ -64,7 +64,7 @@ describe("<App />", () => {
);
// https://github.com/facebook/jest/issues/6798#issuecomment-412871616
const getItemSpy = jest.spyOn(Storage.prototype, "getItem");
const getItemSpy: any = jest.spyOn(Storage.prototype, "getItem");
mount(<App defaultFilters={["ignore=defaults"]} uiDefaults={uiDefaults} />);
@@ -85,7 +85,7 @@ describe("<App />", () => {
);
// https://github.com/facebook/jest/issues/6798#issuecomment-412871616
const getItemSpy = jest.spyOn(Storage.prototype, "getItem");
const getItemSpy: any = jest.spyOn(Storage.prototype, "getItem");
mount(<App defaultFilters={["use=defaults"]} uiDefaults={uiDefaults} />);