Our great sponsors
-
Custom loader for JSON which would parse JSON and wrap it with Object.freeze()(or rather custom function which apply Object.freeze() recursively). Unfortunately, this does not work with Jest. After 24.8.0 it supports custom transformers for JSON but transformer for JSON still must return JSON string so it cannot return module.exports = recursiveObjectFreeze(src).
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- Goodbye, old(ish) friend :( Looks like I'll have to relearn how to code
- Implementing Jest and RTL
- Unit testing: #1 - Test one behaviour at a time.
- The most important skill when writing unit tests is making sure they fail
- How to do Test Driven Development in React using React Testing Library, Jest and Cypress