cern-sis / issues-inspire

0 stars 0 forks source link

Add missing unit tests to new Holdingpen #539

Closed karolina-siemieniuk-morawska closed 2 months ago

karolina-siemieniuk-morawska commented 3 months ago

Make sure all components, containers and utility files have unit test coverage.

karolina-siemieniuk-morawska commented 3 months ago

TECH NOTES:

  1. Use existing inspire unit tests setup. Use react-testing-library and Jest.
  2. Check for missing unit tests in /holdingpen-new directory, add them in /tests paths in every directory (check Inspirehep ui for reference)
  3. Make sure you add tests both DOM rendering (snapshots) and logic of the functionalities