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 |