repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix: fix worker function type definition and validation
[poolifier.git]
/
tests
/
pools
/
cluster
/
fixed.test.js
diff --git
a/tests/pools/cluster/fixed.test.js
b/tests/pools/cluster/fixed.test.js
index c28b8021db11f0342ba3130146cc0e54d2b66eb5..4aaa57c750920944e6cf2c4ed02f43104cb12fa0 100644
(file)
--- a/
tests/pools/cluster/fixed.test.js
+++ b/
tests/pools/cluster/fixed.test.js
@@
-206,6
+206,6
@@
describe('Fixed cluster pool test suite', () => {
expect(
() =>
new FixedClusterPool(0, './tests/worker-files/cluster/testWorker.js')
- ).toThrowError(
new Error('Cannot instantiate a fixed pool with no worker')
)
+ ).toThrowError(
'Cannot instantiate a fixed pool with no worker'
)
})
})