X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker%2Fcluster-worker.test.js;h=fccf3c78c80e59e049d8f9bc4a131354621468ec;hb=5ac19d3d77333f15f88197f8a9bf84155fd8690b;hp=196564a48c51aee9e32a2f4af7cd91208d9b92de;hpb=7fc5cce6ed95bfc01cb6199893cf104c3a3c0f0a;p=poolifier.git diff --git a/tests/worker/cluster-worker.test.js b/tests/worker/cluster-worker.test.js index 196564a4..fccf3c78 100644 --- a/tests/worker/cluster-worker.test.js +++ b/tests/worker/cluster-worker.test.js @@ -4,7 +4,7 @@ const { ClusterWorker } = require('../../lib') describe('Cluster worker test suite', () => { it('Verify worker has default maxInactiveTime', () => { const worker = new ClusterWorker(() => {}) - expect(worker.maxInactiveTime).toEqual(60_000) + expect(worker.opts.maxInactiveTime).toEqual(60_000) }) it('Verify that handleError function works properly', () => {