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
While Mocha discourages the arrow function as arguments to describe, etc. would it still be possible to get the no-setup-in-describe rule to work with arrow functions?
For example:
describe('foo',function(){a();// `no-setup-in-describe` rule works as intended});describe('foo',()=>{a();// `no-setup-in-describe` rule does not seem to apply here});
The text was updated successfully, but these errors were encountered:
While Mocha discourages the arrow function as arguments to
describe
, etc. would it still be possible to get theno-setup-in-describe
rule to work with arrow functions?For example:
The text was updated successfully, but these errors were encountered: