Closed sauk2 closed 3 weeks ago
We need to execute the npm test as part of our CI loop in the GitHub actions. I recommend to give a look into the test.yml in setup.ros and the use of build-and-test.sh script.
Added a job in test.yml
that builds the package and runs unit tests.
Closes #7
Summary
Added
jest
for unit testing. Unit tests can be found in__test__
folder.Unit testing locally
Run the following command to run the unit tests and code coverage locally.