repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Report some code cleanups from work in progress PR
[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 d0a0e36717b4793581045b7d93fcc1df231ab30e..763e3f881dbc066d5b868e981608d1730a3668e7 100644
(file)
--- a/
tests/pools/thread/fixed.test.js
+++ b/
tests/pools/thread/fixed.test.js
@@
-132,8
+132,8
@@
describe('Fixed thread pool test suite', () => {
it('Shutdown test', async () => {
const exitPromise = TestUtils.waitExits(pool, numberOfThreads)
await pool.destroy()
it('Shutdown test', async () => {
const exitPromise = TestUtils.waitExits(pool, numberOfThreads)
await pool.destroy()
- const
re
s = await exitPromise
- expect(
re
s).toBe(numberOfThreads)
+ const
numberOfExitEvent
s = await exitPromise
+ expect(
numberOfExitEvent
s).toBe(numberOfThreads)
})
it('Should work even without opts in input', async () => {
})
it('Should work even without opts in input', async () => {