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