feat: add pool and worker readyness tracking infrastructure
[poolifier.git] / tests / pools / thread / fixed.test.js
index a94745e397f42655378deebdb6c4245c5d6c3b45..4ffc354771f49e3636172a8dc7d16f65e8a9ed02 100644 (file)
@@ -237,6 +237,6 @@ describe('Fixed thread pool test suite', () => {
   it('Verify that a pool with zero worker fails', async () => {
     expect(
       () => new FixedThreadPool(0, './tests/worker-files/thread/testWorker.js')
-    ).toThrowError('Cannot instantiate a fixed pool with no worker')
+    ).toThrowError('Cannot instantiate a fixed pool with zero worker')
   })
 })