Skip to content

feat: throw when jest globals are used#12

Merged
V3RON merged 1 commit intomainfrom
feat/warn-about-jest
Oct 20, 2025
Merged

feat: throw when jest globals are used#12
V3RON merged 1 commit intomainfrom
feat/warn-about-jest

Conversation

@V3RON
Copy link
Copy Markdown
Contributor

@V3RON V3RON commented Oct 20, 2025

Users might forget to replace all instances of the jest global with harness. We should remind them to do so as soon as we detect any usage. This pull request introduces the necessary changes to throw an error whenever the jest global is used or when @jest/globals is imported.

@vercel
Copy link
Copy Markdown

vercel Bot commented Oct 20, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
react-native-harness Error Error Oct 20, 2025 7:34am

💡 Enable Vercel Agent with $100 free credit for automated AI reviews

@V3RON V3RON merged commit 1a48e4e into main Oct 20, 2025
2 of 3 checks passed
@V3RON V3RON deleted the feat/warn-about-jest branch October 22, 2025 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant