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