README.md: Small refinements
[poolifier.git] / tests / worker / thread-worker.test.js
1 const expect = require('expect')
2 const { ThreadWorker } = require('../../lib')
3
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)
8 })
9 })