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
triggers a jest/expect-expect warning. Is there a way to avoid this since we are actually calling an expect statement even though its in a helper function...?
PS it probably isnt practical to specify the function name in the assertFunctionNames as each test file might probably have local functions...
The text was updated successfully, but these errors were encountered:
Oh actually no sorry this isn't a duplicate, but as you've said assertFunctionNames is the way to go with this. You can use overrides to allow functions only for specific tests.
The following scenario:
triggers a jest/expect-expect warning. Is there a way to avoid this since we are actually calling an expect statement even though its in a helper function...?
PS it probably isnt practical to specify the function name in the assertFunctionNames as each test file might probably have local functions...
The text was updated successfully, but these errors were encountered: