Skip to content

Commit

Permalink
fix: fix the test in async.spec.js (#1953)
Browse files Browse the repository at this point in the history
  • Loading branch information
evagy authored and posva committed Jan 16, 2018
1 parent bbed9a0 commit 4e9e66b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/specs/async.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe('Async utils', () => {
const calls = []
const queue = [1, 2, 3, 4, 5].map(i => next => {
calls.push(i)
setTimeout(done, 0)
setTimeout(next, 0)
})
runQueue(queue, (fn, next) => fn(next), () => {
expect(calls).toEqual([1, 2, 3, 4, 5])
Expand Down

0 comments on commit 4e9e66b

Please sign in to comment.