Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bmish opened this issue Apr 4, 2021 · 0 comments

Comments

@bmish
Copy link
Collaborator

bmish commented Apr 4, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants