We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1ed845e + 783b5f8 commit fbf5da3Copy full SHA for fbf5da3
1 file changed
test/index.js
@@ -54,7 +54,7 @@ test('concurrency is 1 (by default)', async (t) => {
54
55
test('concurrency is 2', async (t) => {
56
let total = 0
57
- let fn = makeConcurrent((x) => {
+ const fn = makeConcurrent((x) => {
58
total += x
59
return wait(100)
60
}, { concurrency: 2 })
0 commit comments