Skip to content

Commit

Permalink
Minor test tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Sep 12, 2017
1 parent 24d7d84 commit 80e8e25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,12 @@ test('enforce number in options.concurrency', t => {
}, TypeError);
t.notThrows(() => {
new PQueue({concurrency: 1});
}, TypeError);
});
t.notThrows(() => {
new PQueue({concurrency: 10});
}, TypeError);
});
t.notThrows(() => {
new PQueue({concurrency: Infinity});
}, TypeError);
});
/* eslint-enable no-new */
});

0 comments on commit 80e8e25

Please sign in to comment.