mirror of
https://github.com/prymitive/karma
synced 2026-05-21 04:33:07 +00:00
fix(ui): fix builds
This commit is contained in:
committed by
Łukasz Mierzwa
parent
c1be4e4100
commit
b170a6c058
@@ -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} />);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user