repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Tests: fix promises handling
[poolifier.git]
/
tests
/
pools
/
selection-strategies
/
selection-strategies-utils.test.js
diff --git
a/tests/pools/selection-strategies/selection-strategies-utils.test.js
b/tests/pools/selection-strategies/selection-strategies-utils.test.js
index ba9545f9ae93bfba4bee1984fe17318c4ac96606..945f6ebad001426dae7d11b5635ae52c9a61c6b1 100644
(file)
--- a/
tests/pools/selection-strategies/selection-strategies-utils.test.js
+++ b/
tests/pools/selection-strategies/selection-strategies-utils.test.js
@@
-32,8
+32,8
@@
describe('Selection strategies utils test suite', () => {
// sinon.restore()
// })
- after(() => {
- pool.destroy()
+ after(
async
() => {
+
await
pool.destroy()
})
it('Verify that getWorkerChoiceStrategy() default return ROUND_ROBIN strategy', () => {