1 const expect
= require('expect')
2 const { ThreadWorker
} = require('../../lib')
4 describe('Thread worker test suite', () => {
5 it('Verify worker has default maxInactiveTime', () => {
6 const worker
= new ThreadWorker(() => {})
7 expect(worker
.maxInactiveTime
).toEqual(60_000
)