Package lock to 2.0.0 and removing other full keywords
[poolifier.git] / tests / pools / thread / fixed.test.js
index cc60a9b5a021253819445d46ff49fab6e91abe2f..b70d4c624c5d9744494c6ac87ed9f290e1633221 100644 (file)
@@ -11,7 +11,8 @@ const pool = new FixedThreadPool(
 )
 const emptyPool = new FixedThreadPool(
   1,
-  './tests/worker-files/thread/emptyWorker.js'
+  './tests/worker-files/thread/emptyWorker.js',
+  { exitHandler: () => console.log('WORKER EXITED') }
 )
 const echoPool = new FixedThreadPool(
   1,