Comment on page
Testing your Mobile App
Testing is an integral part of mobile app development to ensure the reliability, functionality, and user experience of your Rocket.Chat Mobile app. This guide will walk you through various testing approaches for Rocket.Chat Mobile App. The Rocket.Chat Mobile App has unit tests and e2e tests.
Storybook is a tool for developing UI Components with some plugins to make Jest generate snapshots. Navigate to the index.js file on your project's root directory, and keep only the last Storybook import while commenting the remaining part of the code. Then, refresh your project, and you will observe the generation of tests like this:
We use Jest for unit tests and to generate Storybook snapshots. There is a pre-commit hook to prevent commits that breaks any test. To check for test issues on your code, run this command:
To check for lint issues on your code, run this command:
To fix your code formatting issues, run this on your terminal:
Last modified 3mo ago