+const asyncPool = new FixedThreadPool(
+ 1,
+ './tests/worker-files/thread/asyncWorker.js'
+)
+
+describe('Fixed thread pool test suite', () => {
+ after('Destroy all pools', async () => {
+ // We need to clean up the resources after our test
+ await echoPool.destroy()
+ await asyncPool.destroy()
+ await errorPool.destroy()
+ await asyncErrorPool.destroy()
+ await emptyPool.destroy()
+ })