Skip to content

EQA-1: Update the jest configuration #218

EQA-1: Update the jest configuration

EQA-1: Update the jest configuration #218

Triggered via pull request July 7, 2023 11:35
Status Success
Total duration 3m 43s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

node.js.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: src/controls/calendar/calendar.component.tsx#L45
React Hook useEffect has a missing dependency: 'question'. Either include it or remove the dependency array. If 'setErrors' needs the current value of 'question', you can also switch to useReducer instead of useState and read 'question' in the reducer
build: src/controls/calendar/calendar.component.tsx#L45
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
build: src/controls/calendar/calendar.component.tsx#L164
React Hook useEffect has missing dependencies: 'fields', 'handler', and 'question'. Either include them or remove the dependency array
build: src/controls/calendar/calendar.component.tsx#L172
React Hook useEffect has a missing dependency: 'question.questionOptions.concept'. Either include it or remove the dependency array
build: src/controls/calendar/calendar.component.tsx#L189
React Hook useEffect has missing dependencies: 'onDateChange' and 'question.id'. Either include them or remove the dependency array. Outer scope values like 'window.jQuery' aren't valid dependencies because mutating them doesn't re-render the component
build: src/controls/date/ethiohri-date.component.tsx#L52
React Hook useEffect has a missing dependency: 'question'. Either include it or remove the dependency array. If 'setErrors' needs the current value of 'question', you can also switch to useReducer instead of useState and read 'question' in the reducer
build: src/controls/date/ethiohri-date.component.tsx#L52
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
build: src/controls/date/ethiohri-date.component.tsx#L139
React Hook useEffect has missing dependencies: 'fields', 'handler', and 'question'. Either include them or remove the dependency array
build: src/controls/date/ethiohri-date.component.tsx#L147
React Hook useEffect has a missing dependency: 'question.questionOptions.concept'. Either include it or remove the dependency array
build: src/views/hiv-baseline/hiv-baseline-summary.component.tsx#L90
React Hook useEffect has unnecessary dependencies: 'encounterType_intake_A' and 'encounterType_intake_B'. Either exclude them or remove the dependency array. Outer scope values like 'encounterType_intake_A' aren't valid dependencies because mutating them doesn't re-render the component

Artifacts

Produced during runtime
Name Size
dist Expired
5.57 MB