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
Assertion calls in helper functions seem to count toward the limit of max-expects when the function is declared after the test body, even if it is not called by the test body.
15:2 error Too many assertion calls (6). Maximum allowed is 5 jest/max-expects
16:2 error Too many assertion calls (7). Maximum allowed is 5 jest/max-expects
The text was updated successfully, but these errors were encountered:
Assertion calls in helper functions seem to count toward the limit of
max-expects
when the function is declared after the test body, even if it is not called by the test body.Reproduction: https://github.com/spdiswal/eslint-plugin-jest-max-expects
The text was updated successfully, but these errors were encountered: