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