added test for current issue...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-01-07 13:07:43 +03:00
parent 4a38432933
commit b2da1459ca

View File

@ -326,6 +326,13 @@ var cases = test.Cases({
order,
[1,2,3,4,5,6],
'Promise.seqiter(..) handle order')
assert.array(
await Promise.iter(
[1, [2], Promise.resolve(3), Promise.resolve([4])],
e => Promise.resolve(['moo'])),
[ ['moo'], [ 'moo' ], [ 'moo' ], [ 'moo' ] ],
'handler returns promise')
},
// Date.js