describe('Abstract pool test suite', () => {
const version = JSON.parse(
readFileSync(
- join(dirname(fileURLToPath(import.meta.url)), '../../package.json'),
+ join(dirname(fileURLToPath(import.meta.url)), '../..', 'package.json'),
'utf8'
)
).version
await pool.destroy()
})
- it('Verify that pool options are validated', async () => {
+ it('Verify that pool options are validated', () => {
expect(
() =>
new FixedThreadPool(