README.md: Small refinements
[poolifier.git] / tests / worker / cluster-worker.test.js
1 const expect = require('expect')
2 const { ClusterWorker } = require('../../lib')
3
4 describe('Cluster worker test suite', () => {
5 // Skipped because ClusterWorker would be in main instead of non-main worker
6 it.skip('Verify worker has default maxInactiveTime', () => {
7 const worker = new ClusterWorker(() => {})
8 expect(worker.maxInactiveTime).toEqual(60_000)
9 })
10 })