Skip to content

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

Open
@bmish

Description

@bmish

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions