From bd6ac580610e25ed4994219079c6aaec7fe40ee3 Mon Sep 17 00:00:00 2001 From: Gustavo Henke Date: Wed, 4 Sep 2024 10:26:23 +1000 Subject: [PATCH] bin: fix tests failing due to compilation to different dir --- bin/concurrently.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/concurrently.spec.ts b/bin/concurrently.spec.ts index 6cca66e7..ef901c06 100644 --- a/bin/concurrently.spec.ts +++ b/bin/concurrently.spec.ts @@ -32,6 +32,7 @@ beforeAll(async () => { bundle: true, outfile: path.join(tmpDir, 'concurrently.js'), }); + fs.copyFileSync(path.join(__dirname, '..', 'package.json'), path.join(tmpDir, 'package.json')); }, 8000); afterAll(() => {