X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fpools%2Fabstract-pool.test.mjs;h=041c62a2b1277c179d689dbe182d6b382fc55cef;hb=2405d0fcd4939f801b544cefa8fd07b9ee2f0080;hp=c7792d79f8cc476dfa205e976ac85a51895bbcf5;hpb=2eb1488903cf9551f65e987537aa6144f77b36c5;p=poolifier.git diff --git a/tests/pools/abstract-pool.test.mjs b/tests/pools/abstract-pool.test.mjs index c7792d79..041c62a2 100644 --- a/tests/pools/abstract-pool.test.mjs +++ b/tests/pools/abstract-pool.test.mjs @@ -23,7 +23,7 @@ import { WorkerNode } from '../../lib/pools/worker-node.js' 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 @@ -297,7 +297,7 @@ describe('Abstract pool test suite', () => { await pool.destroy() }) - it('Verify that pool options are validated', async () => { + it('Verify that pool options are validated', () => { expect( () => new FixedThreadPool(