mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
test: ensure never settling promises are detected
PR-URL: https://github.com/nodejs/node/pull/50318 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
2da66c1444
commit
8f742bb13f
40 changed files with 147 additions and 143 deletions
|
@ -37,5 +37,5 @@ assert.throws(
|
|||
message: 'The argument \'buffer\' is empty and cannot be written. ' +
|
||||
'Received Uint8Array(0) []'
|
||||
}
|
||||
);
|
||||
).then(common.mustCall());
|
||||
})().then(common.mustCall());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue