})
it('Validation of inputs test', () => {
- expect(() => new DynamicThreadPool(min)).toThrowError(
- 'Please specify a file with a worker implementation'
+ expect(() => new DynamicThreadPool(min)).toThrow(
+ "Cannot find the worker file 'undefined'"
)
})