Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Unit test

No due date 100% complete

All classes/functions and components in the specified module/route should be unit tested. See here for an example test in our webapp which also uses react: [https://github.com/Integreat/integreat-webapp/blob/master/src/modules/common/containers/tests/Helmet.spec.js]

 

The only difference from react-native to react-dom is that you can NOT use enzyme. There…

All classes/functions and components in the specified module/route should be unit tested. See here for an example test in our webapp which also uses react: [https://github.com/Integreat/integreat-webapp/blob/master/src/modules/common/containers/tests/Helmet.spec.js]

 

The only difference from react-native to react-dom is that you can NOT use enzyme. Therefore we decided to use [https://github.com/callstack/react-native-testing-library]

 

You can always check the webapp if you are not sure how you should test something: [https://github.com/Integreat/integreat-webapp/tree/master/src]

There are no open issues in this milestone.

Add issues to milestones to help organize your work for a particular release or project.

Create new issue

Or find and add issues with no milestone in this repo.