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

Correct erroneous test #1047

Merged
merged 1 commit into from
Nov 30, 2013
Merged

Commits on Nov 25, 2013

  1. Correct erroneous test

    Because the Runnable under test is not part of a Suite, its context is
    undefined. Prior to this commit, the error returned was a
    runtime-generated `ReferenceError`, not a Mocha-generated `Error`.
    
    Set the timeout via the `Runnable#timeout` method, and update the test
    to assert the correct behavior (not implementation details such as the
    message body of the generated error).
    jugglinmike committed Nov 25, 2013
    Configuration menu
    Copy the full SHA
    ddf218e View commit details
    Browse the repository at this point in the history