Add test for workers
[poolifier.git] / tests / worker / cluster-worker.test.js
CommitLineData
fd027a65
S
1const expect = require('expect')
2const { ClusterWorker } = require('../../lib')
3
4describe('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})