refactor: remove unneeded conditions at worker file path checking
[poolifier.git] / tests / pools / thread / dynamic.test.mjs
index 0918065b403314f942fc4e3422e83740cdd3e654..c31e141c091b52c7ff2050253051eb8fd2e68092 100644 (file)
@@ -74,7 +74,7 @@ describe('Dynamic thread pool test suite', () => {
 
   it('Validation of inputs test', () => {
     expect(() => new DynamicThreadPool(min)).toThrowError(
-      'Please specify a file with a worker implementation'
+      "Cannot find the worker file 'undefined'"
     )
   })