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

Unqualified asyncTest with assert argument results in two assert arguments to test callback #23

Open
platinumazure opened this issue Oct 6, 2015 · 0 comments

Comments

@platinumazure
Copy link
Owner

Test case:

asyncTest("Test name", function (assert) {
    ok(true);
    start();
});

Expected:

QUnit.test("Test name", function (assert) {
    var done = assert.async();
    assert.ok(true);
    done();
});

Actual:

QUnit.test("Test name", function (assert, assert) {
    var done = assert.async();
    assert.ok(true);
    done();
});

Also probably happens with unqualified test.

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

No branches or pull requests

1 participant