Setup Jest for unit testing and add initial test
Description
Environment
None
Potential Workaround
None
defines
is required by
relates to
Checklist
hideTestRail: Results
Activity
Show:
Done
Details
Details
Assignee

Reporter

Priority
Story Points
2
Sprint
None
Development Team
Folijet
Fix versions
Release
Poppy (R2 2023)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created September 8, 2023 at 1:54 PM
Updated October 12, 2023 at 1:56 PM
Resolved September 11, 2023 at 8:12 PM
TestRail: Cases
TestRail: Runs
There are no Jest tests for this plugin, so it is needed to set up Jest and add the initial test.
Install @folio/jest-config-stripes@^2.0.0 dev dependency
Add jest.config.js in the root dir
Add a script to run unit tests
Add test/jest/_mock_ and test/jest/helpers directories
Add initial test for some component