We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@testing-library/dom
mocha unit test that was working before 7.29.5
updated @testing-library/dom to 7.29.5
unit test failed with jest is not defined error
jest is not defined
ReferenceError: jest is not defined at _runWithRealTimers (node_modules/.f/_/@testing-library/dom/7.29.5/@testing-library/dom/dist/helpers.js:42:5)
There's another use of jest a few lines above and it checks for it being undefined first, maybe need to do the same thing at the problem line.
jest
undefined
The text was updated successfully, but these errors were encountered:
Right, I forget that we actually define jest when using mocha.
mocha
Sorry, something went wrong.
🎉 This issue has been resolved in version 7.29.6 🎉
The release is available on:
npm package (@latest dist-tag)
Your semantic-release bot 📦🚀
Successfully merging a pull request may close this issue.
@testing-library/dom
version: 7.29.5Relevant code or config:
mocha unit test that was working before 7.29.5
What you did:
updated @testing-library/dom to 7.29.5
What happened:
unit test failed with
jest is not defined
errorReproduction:
Problem description:
Suggested solution:
There's another use of
jest
a few lines above and it checks for it beingundefined
first, maybe need to do the same thing at the problem line.The text was updated successfully, but these errors were encountered: