Skip to content

[FEQ]Yaswanth/FEQ-2087_Added test cases for useFetchMore hook #460

[FEQ]Yaswanth/FEQ-2087_Added test cases for useFetchMore hook

[FEQ]Yaswanth/FEQ-2087_Added test cases for useFetchMore hook #460

Triggered via pull request April 17, 2024 12:53
Status Failure
Total duration 34s
Artifacts

test_workflow.yml

on: pull_request
Build and test
24s
Build and test
Fit to window
Zoom out
Zoom in

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.