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