test: less strict expectation
[poolifier.git] / tests / pools / selection-strategies / selection-strategies.test.mjs
index 5aa392877d77fb48d3c12738cd983916ff5494c1..d4ea1df3b7978c76455427b31e72681ab93d855e 100644 (file)
@@ -1710,7 +1710,7 @@ describe('Selection strategies test suite', () => {
       pool.workerChoiceStrategyContext.workerChoiceStrategies.get(
         pool.workerChoiceStrategyContext.workerChoiceStrategy
       ).previousWorkerNodeKey
-    ).toBe(0)
+    ).toStrictEqual(expect.any(Number))
     expect(
       pool.workerChoiceStrategyContext.workerChoiceStrategies.get(
         pool.workerChoiceStrategyContext.workerChoiceStrategy