Jest, Mocha and Chai are among the most known tools for React testing (and Javascript in general) of applications. In Ackee we use Jest for unit test and integration testing. However, when it comes to testing more complex functionalities, working with Jest is not always easy. When integrating many application parts in your tests you must often deal with complex setup of a test environment, mocking modules/functions and handling of asynchronous events. That is the reason I decided to try the testing tool Cypress which our colleague Lukáš heard about at the Reactive Meetup in Pardubice and I would like to share my experience in this article.

Are you interested in our work? We publish posts that keep readers up to date with the technologies we utilize, as well as what we’ve found to be good and bad for use. We believe that promoting maximal transparency is vital to both our clients as well as others in the tech community.