refactor: move worker setup into worker node constructor
[poolifier.git] / tests / pools / thread / dynamic.test.mjs
index efcc417e9a2ff5b98db606638efff112bfdc54ed..f7329710bd3c90e2264bebed7ab7aa628c0bccae 100644 (file)
@@ -76,7 +76,7 @@ describe('Dynamic thread pool test suite', () => {
 
   it('Validation of inputs test', () => {
     expect(() => new DynamicThreadPool(min)).toThrow(
-      "Cannot find the worker file 'undefined'"
+      'The worker file path must be specified'
     )
   })