Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit df6238b

Browse files
committed
Fix remaining ts error
1 parent b8bcd7c commit df6238b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/setup/setupManualMocks.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ global.URL.revokeObjectURL = jest.fn();
7474
// polyfilling TextEncoder as it is not available on JSDOM
7575
// view https://github.com/facebook/jest/issues/9983
7676
global.TextEncoder = TextEncoder;
77+
// @ts-ignore
7778
global.TextDecoder = TextDecoder;
7879

7980
// prevent errors whenever a component tries to manually scroll.
@@ -83,4 +84,5 @@ window.HTMLElement.prototype.scrollIntoView = jest.fn();
8384
fetchMock.config.overwriteRoutes = false;
8485
fetchMock.catch("");
8586
fetchMock.get("/image-file-stub", "image file stub");
87+
// @ts-ignore
8688
window.fetch = fetchMock.sandbox();

0 commit comments

Comments
 (0)