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
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)
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-undefrule off for my tests.Screenshot