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

test: cover thenables when we check for promises #24219

Closed
wants to merge 1 commit into from

Commits on Nov 7, 2018

  1. test: cover thenables when we check for promises

    Added tests that cover the issue when assert.rejects() and
    assert.doesNotReject() should not accept Thenables without
    a `catch` method or any Thenable function with `catch` and
    `then` methods attached.
    szabolcsit committed Nov 7, 2018
    Configuration menu
    Copy the full SHA
    bb2bc06 View commit details
    Browse the repository at this point in the history