Fix hooks tests types

environments/review-ts-tests-wjt3v6/deployments/488
Alex Gleason 2022-07-06 12:10:21 -05:00
rodzic 9d85a9f863
commit 882e4b2fda
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -6,7 +6,7 @@ let listener: ((rect: any) => void) | undefined = undefined;
(window as any).ResizeObserver = class ResizeObserver {
constructor(ls) {
constructor(ls: any) {
listener = ls;
}
@ -63,7 +63,7 @@ describe('useDimensions()', () => {
disconnect() {
disconnect();
}
};
const { result, unmount } = renderHook(() => useDimensions());