eslint-plugin-qunit
eslint-plugin-qunit copied to clipboard
Commented out test cases in `no-qunit-start-in-tests` rule regarding new-style modules
I noticed some test cases commented out in the tests for no-qunit-start-in-tests.
// Module hooks (new-style modules)
/* Enable when supported
{
code: "QUnit.module(\"module\", function(hooks) { hooks.beforeEach(function() { QUnit.start(); }); });",
errors: [createError("beforeEach hook")]
},
{
code: "QUnit.module(\"module\", function(hooks) { hooks.afterEach(function() { QUnit.start(); }); });",
errors: [createError("afterEach hook")]
}
*/
There is no error reported when they are uncommented.