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