-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
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
Update getting started guide to avoid linter errors #3762
Comments
If you use ESLint, here's the plugin for you: https://www.npmjs.com/package/eslint-plugin-jest. |
Never said this was a bug in Jest, and it's not a linter problem either (I've added and configured eslint-plugin-jest but that didn't help). It's just that any sort of editor that tries to understand your JS code will flag undefined symbols. In other words, what
|
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Following the getting started guide and using a linter (e.g. one built into an IDE like WebStorm) will highlight
test
,expect
andtoBe
in the test file as not defined:An
import
should be added for jest.The text was updated successfully, but these errors were encountered: