Skip to content

Test Framework ‐ Jest React Testing Framework

Harsh Deep edited this page Jun 1, 2024 · 10 revisions

The project follows the industry standards with Jest for component testing which is paired with React Testing Library for nice UI selectors that work with React.

NewEPubModal.test.js is a good example to look at if you're starting with test cases. It has an example of mocking, varying props, selectors and checking for UI components. Originally introduced in PR #802.

Here are a few helpful links for learn more:

Clone this wiki locally