mirror of
https://github.com/flynx/types.js.git
synced 2025-10-28 10:00:08 +00:00
added test for current issue...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
4a38432933
commit
b2da1459ca
7
test.js
7
test.js
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user