Open
Description
"qunit/no-assert-equal" flags assert.equal
in test points. However, it does not detect them in module hooks.
Example:
QUnit.module('My module', {
before: function (assert) {
assert.equal(1, 1);
}
});
QUnit.test('My test', function (assert) {
assert.equal(1, 1);
});
The rule only flags the second assert.equal
Metadata
Metadata
Assignees
Labels
No labels