refactor: cleanup debug code
[poolifier.git] / tests / pools / selection-strategies / weighted-round-robin-worker-choice-strategy.test.js
index 3f94411c98c104b5ee82697e134c31f557886ccf..b21c41ff954f72aa3c1dee9d9381c985b2413e01 100644 (file)
@@ -35,7 +35,7 @@ describe('Weighted round robin strategy worker choice strategy test suite', () =
     )
     const resetResult = strategy.reset()
     expect(resetResult).toBe(true)
-    expect(strategy.currentWorkerNodeId).toBe(0)
+    expect(strategy.nextWorkerNodeId).toBe(0)
     expect(strategy.workerVirtualTaskRunTime).toBe(0)
   })
 })