You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i fell in love with the context alias when using rspec, but after adding the eslint-plugin-jest plugin, i now get several eslint Duplicate _____ in describe block errors, since eslint doesn't recognize context as a describe alias, it sees multiple jest setup/teardown helper functions under a single scope
Screenshot
Test Plan
this may be something only eslint-plugin-jest can support, but since i'm not clear on where that responsibility should lie, i wanted to raise an issue here as well as with them: https://github.com/jest-community/eslint-plugin-jest
The text was updated successfully, but these errors were encountered:
Description
i fell in love with the
context
alias when usingrspec
, but after adding the eslint-plugin-jest plugin, i now get several eslintDuplicate _____ in describe block
errors, since eslint doesn't recognize context as a describe alias, it sees multiple jest setup/teardown helper functions under a single scopeScreenshot
Test Plan
this may be something only
eslint-plugin-jest
can support, but since i'm not clear on where that responsibility should lie, i wanted to raise an issue here as well as with them: https://github.com/jest-community/eslint-plugin-jestThe text was updated successfully, but these errors were encountered: