Files
node/test/parallel
Ruben Bridgewater 2c3146d06d assert: add direct promises support in rejects
This adds direct promise support to `assert.rejects` and
`assert.doesNotReject`. It will now accept both, functions and ES2015
promises as input.

Besides this the documentation was updated to reflect the latest
changes.

It also refactors the tests to a non blocking way to improve the
execution performance and improves the coverage.

PR-URL: https://github.com/nodejs/node/pull/19885
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
2018-04-16 03:21:45 +02:00
..
2018-02-16 16:54:07 +01:00
2018-02-16 16:54:07 +01:00
2018-04-12 23:23:56 +02:00
2018-02-16 16:54:07 +01:00
2018-02-16 16:54:07 +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
2017-12-22 12:49:10 -08: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-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
2018-02-16 16:54:07 +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
2018-04-10 00:27:09 +02:00