Unverified Commit 599337f4 authored by feugy's avatar feugy Committed by Ruben Bridgewater
Browse files

assert: add rejects() and doesNotReject()

Implement asynchronous equivalent for assert.throws() and
assert.doesNotThrow().

PR-URL: https://github.com/nodejs/node/pull/18023


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarShingo Inoue <leko.noor@gmail.com>
Reviewed-By: default avatarJoyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: default avatarRuben Bridgewater <ruben@bridgewater.de>
parent 580ad015
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment