[FEQ]Yaswanth/FEQ-2087_Added test cases for useFetchMore hook #164
Annotations
7 errors
Install dependencies:
src/hooks/__test__/useFetchMore.spec.tsx#L9
Type '{ current: { clientHeight: number; scrollHeight: number; scrollTop: number; }; }' is not assignable to type 'RefObject<HTMLDivElement>'.
|
Install dependencies:
src/hooks/__test__/useFetchMore.spec.tsx#L12
Argument of type '{ clientHeight: number; scrollHeight: number; scrollTop: number; }' is not assignable to parameter of type 'HTMLDivElement'.
|
Install dependencies:
src/hooks/__test__/useFetchMore.spec.tsx#L21
Type '{ current: { clientHeight: number; scrollHeight: number; scrollTop: number; }; }' is not assignable to type 'RefObject<HTMLDivElement>'.
|
Install dependencies:
src/hooks/__test__/useFetchMore.spec.tsx#L24
Argument of type '{ clientHeight: number; scrollHeight: number; scrollTop: number; }' is not assignable to parameter of type 'HTMLDivElement'.
|
Install dependencies:
src/hooks/__test__/useFetchMore.spec.tsx#L33
Type '{ current: { clientHeight: number; scrollHeight: number; scrollTop: number; }; }' is not assignable to type 'RefObject<HTMLDivElement>'.
|
Install dependencies:
src/hooks/__test__/useFetchMore.spec.tsx#L36
Argument of type '{ clientHeight: number; scrollHeight: number; scrollTop: number; }' is not assignable to parameter of type 'HTMLDivElement'.
|
Install dependencies
Process completed with exit code 2.
|
Loading