1 const expect
= require('expect')
2 const { ClusterWorker
} = require('../../lib')
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
)