Skip to content

chore(ci): check types #1394

chore(ci): check types

chore(ci): check types #1394

Triggered via push August 3, 2023 02:12
Status Success
Total duration 7m 58s
Artifacts 1

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
test_and_build: api/publish-global-market-values-to-discord.js#L25
Property 'post' does not exist on type 'typeof import("/home/runner/work/farmhand/farmhand/node_modules/axios/index")'.
test_and_build: src/common/services/randomNumber.test.js#L12
Property 'mockReturnValue' does not exist on type '() => number'.
test_and_build: src/common/services/randomNumber.test.js#L18
Property 'mockReturnValue' does not exist on type '() => number'.
test_and_build: src/common/services/randomNumber.test.js#L24
Property 'mockReturnValue' does not exist on type '() => number'.
test_and_build: src/common/utils.js#L15
Type '{}' is missing the following properties from type 'priceEvent': itemId, daysRemaining
test_and_build: src/common/utils.js#L15
Type '{}' is missing the following properties from type 'priceEvent': itemId, daysRemaining
test_and_build: src/common/utils.test.js#L11
Argument of type '{}' is not assignable to parameter of type 'priceEvent'.
test_and_build: src/common/utils.test.js#L29
Argument of type '{ 'sample-crop-1': { itemId: string; daysRemaining: number; }; }' is not assignable to parameter of type 'priceEvent'.
test_and_build: src/common/utils.test.js#L38
Argument of type '{}' is not assignable to parameter of type 'priceEvent'.
test_and_build: src/components/AccountingView/AccountingView.js#L71
Type '{ value: number; inputProps: { max: any; min: number; pattern: string; }; onChange: Dispatch<SetStateAction<number>>; InputProps: { inputComponent: ({ inputRef, max, min, onChange, setLoanInputValue, ...rest }: { [x: string]: any; inputRef: any; max: any; min: any; onChange: any; setLoanInputValue: any; }) => Elemen...' is not assignable to type 'IntrinsicAttributes & TextFieldProps'.

Artifacts

Produced during runtime
Name Size
build-output Expired
2.33 MB