From: Jérôme Benoit Date: Sat, 30 Sep 2023 11:49:20 +0000 (+0200) Subject: test: cleanup path resolve X-Git-Tag: v2.7.5~15 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=a5e5599cf44b1db92edfcb9b45229edc7754c20b;p=poolifier.git test: cleanup path resolve Signed-off-by: Jérôme Benoit --- diff --git a/tests/pools/abstract-pool.test.mjs b/tests/pools/abstract-pool.test.mjs index c7792d79..b6dbba29 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