Skip to content

make react-router-v6 changes #766

make react-router-v6 changes

make react-router-v6 changes #766

Triggered via push August 24, 2023 12:05
Status Failure
Total duration 3m 26s
Artifacts

cd-test.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 10 warnings
test (16.17.0, ubuntu-latest): packages/fhir-care-team/src/components/CreateEditCareTeam/tests/form.test.tsx#L20
Replace `·...jest.requireActual('react-router-dom')·as·any` with `...(jest.requireActual('react-router-dom')·as·any)`
test (16.17.0, ubuntu-latest): packages/fhir-care-team/src/components/CreateEditCareTeam/tests/form.test.tsx#L168
'propEdit' is assigned a value but never used. Allowed unused vars must match /^_/u
test (16.17.0, ubuntu-latest): packages/fhir-care-team/src/components/CreateEditCareTeam/tests/form.unmocked.test.tsx#L139
Replace `document.querySelector('input#practitionerParticipants')·as·Element,·'Ward'` with `⏎····document.querySelector('input#practitionerParticipants')·as·Element,⏎····'Ward'⏎··`
test (16.17.0, ubuntu-latest): packages/fhir-care-team/src/components/CreateEditCareTeam/tests/index.test.tsx#L61
Replace `·path={`/add/:${ROUTE_PARAM_CARE_TEAM_ID}`}·element={<CreateEditCareTeam·{...props}·/>}` with `⏎············path={`/add/:${ROUTE_PARAM_CARE_TEAM_ID}`}⏎············element={<CreateEditCareTeam·{...props}·/>}⏎·········`
test (16.17.0, ubuntu-latest): packages/fhir-care-team/src/components/ListView/index.tsx#L81
Replace `typeof·tableData` with `(typeof·tableData)`
test (16.17.0, windows-latest)
The job was canceled because "_16_17_0_ubuntu-latest" failed.
test (16.17.0, windows-latest)
The operation was canceled.
test (16.17.0, ubuntu-latest): app/src/App/AuthLayout.tsx#L5
'PathRouteProps' is defined but never used
test (16.17.0, ubuntu-latest): app/src/App/AuthLayout.tsx#L5
'Route' is defined but never used
test (16.17.0, ubuntu-latest): app/src/App/AuthLayout.tsx#L5
'RouteProps' is defined but never used
test (16.17.0, ubuntu-latest): app/src/App/AuthLayout.tsx#L5
'Routes' is defined but never used
test (16.17.0, ubuntu-latest): app/src/App/fhir-apps.tsx#L11
'ConnectedPrivateRoute' is defined but never used
test (16.17.0, ubuntu-latest): app/src/App/fhir-apps.tsx#L12
'Outlet' is defined but never used
test (16.17.0, ubuntu-latest): app/src/App/fhir-apps.tsx#L14
'CustomLogout' is defined but never used
test (16.17.0, ubuntu-latest): app/src/App/fhir-apps.tsx#L21
'URL_LOGOUT' is defined but never used
test (16.17.0, ubuntu-latest): app/src/App/fhir-apps.tsx#L63
'Home' is defined but never used
test (16.17.0, ubuntu-latest): app/src/components/page/CustomCallback/index.tsx#L6
'withRouter' is defined but never used