Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: fix the test in async.spec.js (#1953)
  • 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
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.