fix: fix workey weights input validation
[poolifier.git] / tests / pools / cluster / fixed.test.js
index 59f76802bb97a109795e92702e470c6a670543e0..34c066100aff925579f80a8876c03a4b4d81e695 100644 (file)
@@ -65,11 +65,11 @@ describe('Fixed cluster pool test suite', () => {
     let result = await pool.execute({
       function: WorkerFunctions.fibonacci
     })
-    expect(result).toBe(false)
+    expect(result).toBe(121393)
     result = await pool.execute({
       function: WorkerFunctions.factorial
     })
-    expect(result).toBe(false)
+    expect(result).toBe(9.33262154439441e157)
   })
 
   it('Verify that is possible to invoke the execute() method without input', async () => {