Merge branch 'master' into add-worker-test
[poolifier.git] / tests / pools / thread / dynamic.test.js
index 98a0dd0f0d180076f4a87a17f7e9bbe1ee050310..5f6dc8ba47cb92fe26aefc82a767dd2acaa2ec9b 100644 (file)
@@ -5,7 +5,7 @@ const max = 3
 const pool = new DynamicThreadPool(
   min,
   max,
-  './tests/worker/thread/testWorker.js',
+  './tests/worker-files/thread/testWorker.js',
   {
     errorHandler: e => console.error(e),
     onlineHandler: () => console.log('worker is online')
@@ -80,7 +80,7 @@ describe('Dynamic thread pool test suite ', () => {
     const pool1 = new DynamicThreadPool(
       1,
       1,
-      './tests/worker/thread/testWorker.js'
+      './tests/worker-files/thread/testWorker.js'
     )
     const res = await pool1.execute({ test: 'test' })
     expect(res).toBeFalsy()