medic / cht-interoperability

CHT - eCHIS interoperability project
GNU Affero General Public License v3.0
2 stars 3 forks source link

add jest config and sample test file #35

Closed njogz closed 1 year ago

njogz commented 1 year ago

Description

Add jest configuration and one unit test

medic/interoperability#33

Code review checklist

License

The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.

njogz commented 1 year ago

Thanks for the comments @lorerod. I have replied to both of them. As for Mocha vs Jest: Jest is designed for simplicity and we can get most if not all relevant tests done with Jest as well as getting a code coverage report without adding other libraries.

njogz commented 1 year ago

@andrablaj I have addressed your comments please have another look.

njogz commented 1 year ago

@lorerod I am working on some documentation for the choice of testing framework and the location of the test files. Do you need that before you can approve this PR?