#jest

[ follow ]
LogRocket Blog
1 month ago
JavaScript

Jest adoption guide: Overview, examples, and alternatives - LogRocket Blog

Jest is a popular JavaScript testing library for unit and integration testing in frontend and backend projects.
Jest provides rich features like mocking, assertion, code coverage, and support for various JavaScript frameworks. [ more ]
Marcin Wanago Blog - JavaScript, both frontend and backend
1 month ago
JavaScript

JavaScript testing #16. Snapshot testing with React, Jest, and Vitest

Snapshot testing helps detect unintended changes in how components render.
Snapshot files should be treated as an integral part of the test and committed to the repository. [ more ]
Marcin Wanago Blog - JavaScript, both frontend and backend
1 month ago
JavaScript

JavaScript testing #15. Interpreting the code coverage metric

Code coverage measures the percentage of code run with tests.
High code coverage can sometimes mislead about code thoroughness. [ more ]
[ Load more ]