Skip to content

afters #65

Description

@loujaybee

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();
});

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions