Open jrobbins opened 1 year ago
Describe the bug You can run a test coverage report by doing npm run coverage then npm run view-coverage and browsing localhost:8080.
npm run coverage
npm run view-coverage
Our unit test coverage for the /api directory is pretty good, but there are a few gaps:
Ideally untested code would become tested code by adding new unit tests. However, if needed we can mark specific lines as excluded from the coverage metrics. https://coverage.readthedocs.io/en/stable/excluding.html
Converters.py has been improved to 98%
With #2836, all API files have achieved at least 90% test coverage
Describe the bug You can run a test coverage report by doing
npm run coverage
thennpm run view-coverage
and browsing localhost:8080.Our unit test coverage for the /api directory is pretty good, but there are a few gaps:
Ideally untested code would become tested code by adding new unit tests. However, if needed we can mark specific lines as excluded from the coverage metrics. https://coverage.readthedocs.io/en/stable/excluding.html