From c9a3f16e66224643f937fe9bd49cacac46981b8b Mon Sep 17 00:00:00 2001 From: Hubert Argasinski Date: Sun, 23 Jan 2022 20:55:02 -0500 Subject: fix: update priorityQueue functionality to match queue --- test/queue.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'test/queue.js') 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() })) -- cgit v1.2.1