summaryrefslogtreecommitdiff
path: root/test/queue.js
diff options
context:
space:
mode:
authorHubert Argasinski <argasinski.hubert@gmail.com>2022-04-15 00:06:27 -0400
committerGitHub <noreply@github.com>2022-04-15 00:06:27 -0400
commit6927a814ad505920179e5dd50e3ccb085f591273 (patch)
tree88c9612da98d4ef764a9f8fc27188d3683332a50 /test/queue.js
parent576ba747a2aca0e5392f2aad75f4a9912603b2d5 (diff)
downloadasync-6927a814ad505920179e5dd50e3ccb085f591273.tar.gz
fix: update priorityQueue functionality to match queue (#1790)
Diffstat (limited to 'test/queue.js')
-rw-r--r--test/queue.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/queue.js b/test/queue.js
index f99e91a..615dd6b 100644
--- a/test/queue.js
+++ b/test/queue.js
@@ -170,7 +170,6 @@ describe('queue', function(){
})
q.pushAsync([3, 4]).map(p => p.then(() => calls.push('arr')))
q.drain(() => setTimeout(() => {
- console.log('drain')
expect(calls).to.eql([1, 2, 'arr', 'arr'])
done()
}))
@@ -190,7 +189,6 @@ describe('queue', function(){
})
q.unshiftAsync([3, 4]).map(p => p.then(() => calls.push('arr')))
q.drain(() => setTimeout(() => {
- console.log('drain')
expect(calls).to.eql(['arr', 'arr', 2, 1])
done()
}))