Skip to content

UIIN-1785 create Jest/RTL test for ItemsList.js #4806

UIIN-1785 create Jest/RTL test for ItemsList.js

UIIN-1785 create Jest/RTL test for ItemsList.js #4806

Triggered via pull request July 18, 2023 05:48
Status Success
Total duration 11m 46s
Artifacts 1

build-npm.yml

on: pull_request
github-actions-ci
11m 34s
github-actions-ci
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 8 warnings
github-actions-ci: src/ViewInstance.test.js#L344
Unexpected tab character
github-actions-ci: src/ViewInstance.test.js#L344
Mixed spaces and tabs
github-actions-ci: src/components/BrowseInventoryFilters/BrowseInventoryFilters.test.js#L4
Unable to resolve path to module '__mock__'
github-actions-ci: src/components/BrowseInventoryFilters/BrowseInventoryFilters.test.js#L9
Unable to resolve path to module 'helpers'
github-actions-ci: src/components/HoldingsRecordFilters/HoldingsRecordFilters.test.js#L4
'@testing-library/react' should be listed in the project's dependencies. Run 'npm i -S @testing-library/react' to add it
github-actions-ci: src/components/HoldingsRecordFilters/HoldingsRecordFilters.test.js#L7
'@testing-library/user-event' should be listed in the project's dependencies. Run 'npm i -S @testing-library/user-event' to add it
github-actions-ci: src/components/InstanceFilters/instanceFilterRenderer.test.js#L3
'@testing-library/react' should be listed in the project's dependencies. Run 'npm i -S @testing-library/react' to add it
github-actions-ci: src/components/InstanceFilters/instanceFilterRenderer.test.js#L4
'@testing-library/user-event' should be listed in the project's dependencies. Run 'npm i -S @testing-library/user-event' to add it
github-actions-ci: src/components/InstancesList/InstancesList.js#L649
Use callback in setState when referencing the previous state
github-actions-ci
The following actions uses node12 which is deprecated and will be forced to run on node16: ***-org/checkout@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
github-actions-ci
Value "update last" for option comment_mode is deprecated! Instead, use value "always".
github-actions-ci
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
github-actions-ci
Value "update last" for option comment_mode is deprecated! Instead, use value "always".
github-actions-ci
Could not find any files for artifacts/runTest/*.xml
github-actions-ci
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
github-actions-ci
No files were found with the provided path: artifacts/coverage/lcov-report/. No artifacts will be uploaded.
github-actions-ci: src/components/CheckboxFacet/CheckboxFacet.test.js#L2
'act' is defined but never used. Allowed unused vars must match /React/u

Artifacts

Produced during runtime
Name Size
jest-coverage-report Expired
5.9 MB