We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbed9a0 commit 4e9e66bCopy full SHA for 4e9e66b
test/unit/specs/async.spec.js
@@ -6,7 +6,7 @@ describe('Async utils', () => {
6
const calls = []
7
const queue = [1, 2, 3, 4, 5].map(i => next => {
8
calls.push(i)
9
- setTimeout(done, 0)
+ setTimeout(next, 0)
10
})
11
runQueue(queue, (fn, next) => fn(next), () => {
12
expect(calls).toEqual([1, 2, 3, 4, 5])
0 commit comments