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
It's mentioned in the rules markdown that max-top-level-suites is included in the mocha/recommended plugin.
However, I'm not able to trigger the rule with the following simple test:
import*asassertfrom'assert';describe('Array.length',function(){it('should return the correct length of the array',function(){assert.equal([1,2,3].length,3);});});describe('Array.indexOf()',function(){it('should return -1 when the value is not present',function(){assert.equal([1,2,3].indexOf(4),-1);});});
What seems weird to me is that I am able to trigger the other rules (e.g. no-global-tests, no-identical-title).
The text was updated successfully, but these errors were encountered:
It's mentioned in the rules markdown that
max-top-level-suites
is included in themocha/recommended
plugin.However, I'm not able to trigger the rule with the following simple test:
What seems weird to me is that I am able to trigger the other rules (e.g.
no-global-tests
,no-identical-title
).The text was updated successfully, but these errors were encountered: