repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test: add test for backPressure event emission
[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 e3ee0f652dafe8a4401b95feb82f6c80c34751e6..4c2c6952944902647177af13756cec63e6f04b0f 100644
(file)
--- a/
tests/pools/thread/fixed.test.js
+++ b/
tests/pools/thread/fixed.test.js
@@
-88,7
+88,7
@@
describe('Fixed thread pool test suite', () => {
)
let poolReady = 0
pool1.emitter.on(PoolEvents.ready, () => ++poolReady)
- await waitPoolEvents(pool1,
'ready'
, 1)
+ await waitPoolEvents(pool1,
PoolEvents.ready
, 1)
expect(poolReady).toBe(1)
})