TecKnow / muster-tools

A package for assigning players to tables at multi-table, walk-in gaming events.
GNU General Public License v3.0
0 stars 0 forks source link

Investigate how code coverage collection works in Jest #35

Open TecKnow opened 3 years ago

TecKnow commented 3 years ago

The loosely typed nature of JavaScript and the tight coupling between layers in a 4-tier system consisting of a Material UI interface, Redux store, Express.js API with Socket.io and SQLite database with Sequelize together demand the highest levels of testing. They also make it easy to miss something in the sea of not-quite duplciation.

Code coverage can help identify areas that have been missed, and at the very least the VSCode Jest test runner supports code coverage display, which suggests that Jest can collect this information.

Investigate how code collection works under Jest and decide how to go about using it.