test: fix worker file paths
[poolifier.git] / tests / pools / thread / fixed.test.js
index e5d9831dc462c1b6bf887e606888fca9a5f78e33..8a0cfeadcbd4660b63e604d5214674d4328f8adb 100644 (file)
@@ -208,7 +208,7 @@ describe('Fixed thread pool test suite', () => {
   })
 
   it('Verify that thread pool options are checked', async () => {
-    const workerFilePath = './tests/worker-files/cluster/testWorker.js'
+    const workerFilePath = './tests/worker-files/thread/testWorker.js'
     let pool1 = new FixedThreadPool(numberOfThreads, workerFilePath)
     expect(pool1.opts.workerOptions).toBeUndefined()
     await pool1.destroy()