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

afters #65

Open
loujaybee opened this issue Nov 27, 2014 · 0 comments
Open

afters #65

loujaybee opened this issue Nov 27, 2014 · 0 comments

Comments

@loujaybee
Copy link

Description

Just as there is a befores implementation it would be nice to have an afters function as I am trying to wrap the library in a promise and resolve it at the end of the function.

Code example

return new Promise(function(resolve, reject) {
    suite.discuss('When authenticating')
        .discuss('with no username or password')
        .after(resolve) // this part 
        .next();
});
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