-
Task
-
Resolution: Done
-
Medium
-
None
-
None
-
SIMPLY Sprint 1 Jan 5 - 19, SIMPLY Sprint 2 Jan 19 - Feb 2
-
2
As I refactor circulation-web's components from class to functional with hooks, Enzyme/Mocha, the current test stack doesn't serve our needs as well. I plan to slowly transition to more modern technologies, RTL/Jest, which tests based on user interaction and the DOM, rather than implementation details.
This ticket is specifically to set up RTL/Jest – future tickets will cover migrating tests for specific portions of circlation-web.
Acceptance criteria:
1. Install proper libraries.
2. Write config file for Jest.
3. Get one test to pass with RTL/Jest.
4. Ensure Enzyme/Mocha tests still work/pass.
- blocks
-
SIMPLY-3977 Rewrite tests for components related to saving in the List Manager
- Done
- relates to
-
SIMPLY-4021 Create a 4.1.0 release of the Circulation Manager
- Done