Testing if a React component doesn’t exist with Jest
Sometimes we want to write tests to check if certain elements are not rendered.
For example, we might have a parameter to disable a section until the user has a specific level or action.
There are several ways to test this, so let's look at some exam...
h.daily-dev-tips.com2 min read