concept setupjestdom.js in category javascript

appears as: setupJestDom.js
Testing JavaScript Applications

This is an excerpt from Manning's book Testing JavaScript Applications.

If you’re not dealing with endpoints, an alternative is to use jest-when to achieve the same goal.