Files
node/test/parallel
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-02-16 16:54:07 +01:00
2018-03-27 01:20:19 +01:00
2018-02-16 16:54:07 +01:00
2018-02-16 16:54:07 +01:00
2018-02-16 16:54:07 +01:00
2018-02-16 16:54:07 +01:00
2018-02-16 16:53:47 +01:00
2018-03-25 01:45:38 +01:00
2018-03-25 01:45:40 +01:00
2018-03-25 01:45:40 +01:00
2018-03-25 01:45:40 +01:00
2018-03-25 01:45:40 +01:00
2018-03-25 01:45:40 +01:00
2017-12-22 12:49:10 -08:00
2018-03-25 01:45:40 +01:00
2018-02-01 13:17:33 +01:00
2018-03-25 01:45:40 +01:00
2018-03-25 01:45:40 +01:00
2018-03-25 01:45:40 +01:00
2018-03-25 01:45:38 +01:00
2018-01-03 08:45:58 -08:00
2018-02-16 16:54:07 +01:00
2018-03-25 01:45:38 +01:00
2018-02-16 16:54:07 +01:00
2018-02-16 16:54:07 +01:00
2017-11-26 08:47:33 -08:00
2017-11-10 14:27:52 -05:00
2018-02-16 16:54:07 +01:00
2018-03-11 02:43:27 +01:00
2018-02-16 16:54:07 +01:00
2018-01-30 17:00:57 -08:00
2018-01-30 17:00:57 -08:00