Report some code cleanups from work in progress PR
[poolifier.git] / tests / pools / cluster / dynamic.test.js
index b1201ea587c9803dafd33e7e974b800c3d218afc..61e1d6e2cd131bc8dabf95265854ec244bfdaa94 100644 (file)
@@ -54,8 +54,8 @@ describe('Dynamic cluster pool test suite', () => {
   it('Shutdown test', async () => {
     const exitPromise = TestUtils.waitExits(pool, min)
     await pool.destroy()
-    const res = await exitPromise
-    expect(res).toBe(min)
+    const numberOfExitEvents = await exitPromise
+    expect(numberOfExitEvents).toBe(min)
   })
 
   it('Validation of inputs test', () => {