README.md: Small refinements
[poolifier.git] / tests / worker / thread-worker.test.js
CommitLineData
fd027a65
S
1const expect = require('expect')
2const { ThreadWorker } = require('../../lib')
3
4describe('Thread worker test suite', () => {
5 it('Verify worker has default maxInactiveTime', () => {
6 const worker = new ThreadWorker(() => {})
7 expect(worker.maxInactiveTime).toEqual(60_000)
8 })
9})