repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add UTs for SelectionStrategiesUtils
[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 2a0a8e2e70f02e15839d89d972d433254ab744e6..2ef709c1d0fc71fa3d6da9af508d8afa3859d5cf 100644
(file)
--- a/
tests/pools/cluster/fixed.test.js
+++ b/
tests/pools/cluster/fixed.test.js
@@
-130,8
+130,8
@@
describe('Fixed cluster pool test suite', () => {
it('Shutdown test', async () => {
const exitPromise = TestUtils.waitExits(pool, numberOfWorkers)
await pool.destroy()
it('Shutdown test', async () => {
const exitPromise = TestUtils.waitExits(pool, numberOfWorkers)
await pool.destroy()
- const
re
s = await exitPromise
- expect(
re
s).toBe(numberOfWorkers)
+ const
numberOfExitEvent
s = await exitPromise
+ expect(
numberOfExitEvent
s).toBe(numberOfWorkers)
})
it('Should work even without opts in input', async () => {
})
it('Should work even without opts in input', async () => {