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
Eslint will complain about undefined variabels when using jest-plugin-set.
Is there a way to work around that?
So far I've had to turn the no-undef rule off for my tests.
Screenshot
xyz/models/__tests__/Plan-test.js
32:23 error 'organization' is not defined no-undef
32:40 error 'free_plan' is not defined no-undef
35:39 error 'organization' is not defined no-undef
36:17 error 'free_plan' is not defined no-undef
✖ 4 problems (4 errors, 0 warnings)
The text was updated successfully, but these errors were encountered:
Description
Eslint will complain about undefined variabels when using
jest-plugin-set
.Is there a way to work around that?
So far I've had to turn the
no-undef
rule off for my tests.Screenshot
The text was updated successfully, but these errors were encountered: