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

assert argument to beforeEach and afterEach #151

Closed
rwjblue opened this issue Mar 11, 2015 · 0 comments
Closed

assert argument to beforeEach and afterEach #151

rwjblue opened this issue Mar 11, 2015 · 0 comments

Comments

@rwjblue
Copy link
Member

rwjblue commented Mar 11, 2015

Cross post from emberjs/ember-test-helpers#22:

QUnit 2 passes assert as an argument to theses callbacks:

QUnit.module( "router", {
    beforeEach: function( assert ) {
        this.router = new Router();
    },
    afterEach: function( assert ) {
        this.router.destroy();
    }
});

However TestModule is not passing these arguments to the user's callbacks from setup, teardown to invokeSteps

/cc @Asgaroth

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