diff --git a/jest.config.js b/jest.config.js index 57ec3f489..7e8ceb81e 100644 --- a/jest.config.js +++ b/jest.config.js @@ -37,8 +37,8 @@ module.exports = { global: { branches: 25, functions: 25, - lines: 29.5, - statements: 29.5, + lines: 29, + statements: 29, }, }, diff --git a/src/Utils/GalleryUtils.test.ts b/src/Utils/GalleryUtils.test.ts index 2ba4ac7e3..5b83dd701 100644 --- a/src/Utils/GalleryUtils.test.ts +++ b/src/Utils/GalleryUtils.test.ts @@ -30,7 +30,7 @@ describe("GalleryUtils", () => { }); it("downloadItem shows dialog in data explorer", () => { - const container = {} as Explorer; + const container = new Explorer(); GalleryUtils.downloadItem(container, undefined, galleryItem, undefined); expect(useDialog.getState().visible).toBe(true);