refactor: make TS example compatible with latest ES version
[poolifier.git] / tests / pools / thread / fixed.test.js
index e4b99a6378d226535f83e47fb5516e3d394212f2..f38a56c60a52e2e5c65909480e02c6e17707320a 100644 (file)
@@ -27,7 +27,7 @@ describe('Fixed thread pool test suite', () => {
   const emptyPool = new FixedThreadPool(
     numberOfThreads,
     './tests/worker-files/thread/emptyWorker.js',
-    { exitHandler: () => console.log('empty pool worker exited') }
+    { exitHandler: () => console.info('empty pool worker exited') }
   )
   const echoPool = new FixedThreadPool(
     numberOfThreads,