Enhancement on main readme
[poolifier.git] / tests / worker / abstract-worker.test.js
CommitLineData
c510fea7
APA
1const expect = require('expect')
2const { ThreadWorker } = require('../../lib')
3
4describe('Abstract worker test suite', () => {
5 it('Verify that fn function is mandatory', () => {
6 expect(() => {
7 const worker = new ThreadWorker()
8 }).toThrowError()
9 })
10})