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

Adding promise support to runnables (and thus tests). #1036

Closed
wants to merge 1 commit into from

Commits on Jul 8, 2012

  1. Adding promise support to runnables (and thus tests).

    * If a runnable returns a duck-typed promise, i.e. an object with a `then` method, it gets treated as an async test, with success if the promise is fulfilled and failure if it is rejected (with the rejection reason as the error).
    * Includes tests both of new functionality and some to show that introducing this doesn't break any old functionality.
    domenic committed Jul 8, 2012
    Configuration menu
    Copy the full SHA
    cb6c83d View commit details
    Browse the repository at this point in the history