eslint-plugin-qunit icon indicating copy to clipboard operation
eslint-plugin-qunit copied to clipboard

Commented out test cases in `no-qunit-start-in-tests` rule regarding new-style modules

Open bmish opened this issue 3 years ago • 0 comments

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.

bmish avatar Apr 04 '21 15:04 bmish