repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: fix default task function handling with multiple task functions
[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 9187b817d1bf749ae956d91a8afcb9436a48b3ab..09c53ea49a6afd86338679684d16e904fb2d4f75 100644
(file)
--- a/
tests/pools/thread/fixed.test.js
+++ b/
tests/pools/thread/fixed.test.js
@@
-65,11
+65,11
@@
describe('Fixed thread pool test suite', () => {
let result = await pool.execute({
function: WorkerFunctions.fibonacci
})
let result = await pool.execute({
function: WorkerFunctions.fibonacci
})
- expect(result).toBe(
false
)
+ expect(result).toBe(
121393
)
result = await pool.execute({
function: WorkerFunctions.factorial
})
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 () => {
})
it('Verify that is possible to invoke the execute() method without input', async () => {