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
/
dynamic.test.js
diff --git
a/tests/pools/cluster/dynamic.test.js
b/tests/pools/cluster/dynamic.test.js
index 0da467ca8685157e453872a84e0760f11aa2641e..23403ab78108620f555d8d9d8635cb06bcafd1e8 100644
(file)
--- a/
tests/pools/cluster/dynamic.test.js
+++ b/
tests/pools/cluster/dynamic.test.js
@@
-66,7
+66,7
@@
describe('Dynamic cluster pool test suite', () => {
it('Validation of inputs test', () => {
expect(() => new DynamicClusterPool(min)).toThrowError(
- new Error('Please specify a file with a worker implementation')
+ 'Please specify a file with a worker implementation'
)
})