repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix: fix pool statuses semantic
[poolifier.git]
/
tests
/
pools
/
cluster
/
fixed.test.js
diff --git
a/tests/pools/cluster/fixed.test.js
b/tests/pools/cluster/fixed.test.js
index 1a0e1e3d6812a12c32b20dfd2022a671e0c84b64..f71529a911949f285d0c54ebd8be5b27d67d0e3d 100644
(file)
--- a/
tests/pools/cluster/fixed.test.js
+++ b/
tests/pools/cluster/fixed.test.js
@@
-86,9
+86,7
@@
describe('Fixed cluster pool test suite', () => {
}
)
let poolReady = 0
- pool1.emitter.on(PoolEvents.ready, () => {
- ++poolReady
- })
+ pool1.emitter.on(PoolEvents.ready, () => ++poolReady)
await waitPoolEvents(pool1, PoolEvents.ready, 1)
expect(poolReady).toBe(1)
})