José Julián Espina
|
dde3050bdb
|
Fix test regression in asyncHelpers.js (#4197)
|
2024-08-19 12:33:17 -04:00 |
Richard Gibson
|
feb400c685
|
harness/asyncHelpers.js: Update throwsAsync to not succeed on a bad thenable
Fixes #4186
|
2024-08-02 08:52:05 +02:00 |
Richard Gibson
|
f83c1b9387
|
harness/asyncHelpers.js: Further reduce the size of assert.throwsAsync
|
2024-08-01 12:10:32 -04:00 |
Richard Gibson
|
fa3d0246e7
|
harness/asyncHelpers.js: Reduce the size of assert.throwsAsync
|
2024-08-01 11:42:34 -04:00 |
Richard Gibson
|
0b61e98564
|
harness/asyncHelpers.js: Clean up assert.throwsAsync failure messages
* Remove mention of an "inner" promise/thenable.
|
2024-08-01 11:41:25 -04:00 |
Richard Gibson
|
b87eaf9ac3
|
harness/asyncHelpers.js: Fix an assert.throwsAsync failure message typo
|
2024-08-01 11:39:10 -04:00 |
Richard Gibson
|
0631e2111b
|
harness/asyncHelpers.js: Isolate assert.throwsAsync failure conditions
|
2024-08-01 11:38:06 -04:00 |
Richard Gibson
|
b22b500f24
|
harness/asyncHelpers.js: Refactor assert.throwsAsync to fail fast
|
2024-08-01 11:38:06 -04:00 |
Richard Gibson
|
1b34a1c484
|
harness/asyncHelpers.js: Add doc comments
|
2024-08-01 11:38:06 -04:00 |
Jordan Harband
|
5217ef396e
|
throwsAsync, `Promise.try`: avoid unneeded syntax
Followup to #4086
|
2024-05-17 09:13:21 -07:00 |
Cam Tenny
|
1d116b48a9
|
harness/asyncHelpers.js: Refactor asyncTest to always return undefined instead of a Promise
|
2023-02-21 11:04:09 -08:00 |
Cam Tenny
|
d810c684ae
|
harness/asyncHelpers.js: Refactor assert.throwsAsync to only accept a callable
|
2023-02-21 11:04:09 -08:00 |
Cam Tenny
|
4bd0545b29
|
harness/asyncHelpers.js: Remove dependency on Promise.
|
2023-02-21 11:04:09 -08:00 |
Cam Tenny
|
98952c3c51
|
harness/asyncHelpers.js: Refactor assert.throwsAsync to be async function
|
2023-02-21 11:04:09 -08:00 |
Cam Tenny
|
c056d31b9b
|
Adds harness/asyncHelpers.js: functions asyncTest and assert.throwsAsync, per rfcs/async-helpers.md
|
2023-02-21 11:04:09 -08:00 |