Skip to content

Commit 4e9e66b

Browse files
evagyposva
authored andcommitted
fix: fix the test in async.spec.js (#1953)
1 parent bbed9a0 commit 4e9e66b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/specs/async.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ describe('Async utils', () => {
66
const calls = []
77
const queue = [1, 2, 3, 4, 5].map(i => next => {
88
calls.push(i)
9-
setTimeout(done, 0)
9+
setTimeout(next, 0)
1010
})
1111
runQueue(queue, (fn, next) => fn(next), () => {
1212
expect(calls).toEqual([1, 2, 3, 4, 5])

0 commit comments

Comments
 (0)