diff --git a/ui/src/App.test.tsx b/ui/src/App.test.tsx
index 091d1f9bb..f3e34bd0f 100644
--- a/ui/src/App.test.tsx
+++ b/ui/src/App.test.tsx
@@ -64,7 +64,7 @@ describe("", () => {
);
// 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();
@@ -85,7 +85,7 @@ describe("", () => {
);
// 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();