Skip to content

Commit

Permalink
v0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lpil committed Feb 22, 2024
1 parent 328458c commit 07cda8c
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions test/gleam/javascript/promise_test.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,16 @@ pub fn await6_test() {
}

pub fn await_array_test() {
promise.await_array(array.from_list([
promise.resolve(1),
promise.resolve(3),
promise.resolve(4),
promise.resolve(6),
promise.resolve(10),
promise.resolve(13),
]))
promise.await_array(
array.from_list([
promise.resolve(1),
promise.resolve(3),
promise.resolve(4),
promise.resolve(6),
promise.resolve(10),
promise.resolve(13),
]),
)
|> promise.tap(fn(x) {
let assert [1, 3, 4, 6, 10, 13] = array.to_list(x)
})
Expand Down

0 comments on commit 07cda8c

Please sign in to comment.