Files
node/lib
Teddy Katz fdb35d8960 assert: ensure .rejects() disallows sync throws
This updates `assert.rejects()` to disallow any errors that are thrown
synchronously from the given function. Previously, throwing an error
would cause the same behavior as returning a rejected Promise.

Fixes: https://github.com/nodejs/node/issues/19646
PR-URL: https://github.com/nodejs/node/pull/19650
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2018-04-03 22:41:01 -04:00
..
2018-03-25 03:01:45 +02:00
2018-03-30 19:41:41 -05:00
2018-03-05 19:51:30 +01:00
2018-03-05 19:51:30 +01:00
…
2018-03-30 14:20:40 +02:00
2018-04-03 13:57:41 -07:00
2018-03-05 19:51:30 +01:00
2018-03-15 20:50:35 +08:00
…
2018-03-05 19:51:30 +01:00
2018-04-03 17:59:22 +02:00