Merge branch 'master' into add-worker-test
[poolifier.git] / tests / pools / abstract / abstract-pool.test.js
index d5d87058ed2c7f1f2f24c9a18347f00199f146f3..65d667f141a7cefccaf64e5de6525c77a0d37d2b 100644 (file)
@@ -18,7 +18,7 @@ describe('Abstract pool test suite ', () => {
   it('Simulate worker not found during increaseWorkersTask', () => {
     const pool = new StubPoolWithTasksMapClear(
       1,
-      './tests/worker/cluster/testWorker.js',
+      './tests/worker-files/cluster/testWorker.js',
       {
         errorHandler: e => console.error(e)
       }
@@ -31,7 +31,7 @@ describe('Abstract pool test suite ', () => {
   it('Simulate worker not found during decreaseWorkersTasks', () => {
     const pool = new StubPoolWithTasksMapClear(
       1,
-      './tests/worker/cluster/testWorker.js',
+      './tests/worker-files/cluster/testWorker.js',
       {
         errorHandler: e => console.error(e)
       }
@@ -45,7 +45,7 @@ describe('Abstract pool test suite ', () => {
     expect(() => {
       const pool = new StubPoolWithIsMainMethod(
         1,
-        './tests/worker/cluster/testWorker.js',
+        './tests/worker-files/cluster/testWorker.js',
         {
           errorHandler: e => console.error(e)
         }