From da7873a47f33226407bac76db1ecc5f6c5b52ea7 Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Mon, 20 May 2024 09:55:26 +0200 Subject: [PATCH] fix tests --- tests/integrations/flat-config.spec.ts | 2 +- tests/integrations/legacy-config.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integrations/flat-config.spec.ts b/tests/integrations/flat-config.spec.ts index afbabc7..27099da 100644 --- a/tests/integrations/flat-config.spec.ts +++ b/tests/integrations/flat-config.spec.ts @@ -11,7 +11,7 @@ describe('Integration with flat config', () => { beforeEach(() => { originalCwd = process.cwd() process.chdir(path.join(__dirname, 'flat-config')) - cp.execSync('npm i -f', { stdio: 'inherit' }) + cp.execSync('pnpm i -f', { stdio: 'inherit' }) }) afterEach(() => { originalCwd && process.chdir(originalCwd) diff --git a/tests/integrations/legacy-config.spec.ts b/tests/integrations/legacy-config.spec.ts index 1bf1b10..1c1fc32 100644 --- a/tests/integrations/legacy-config.spec.ts +++ b/tests/integrations/legacy-config.spec.ts @@ -11,7 +11,7 @@ describe('Integration with legacy config', () => { beforeEach(() => { originalCwd = process.cwd() process.chdir(path.join(__dirname, 'legacy-config')) - cp.execSync('npm i -f', { stdio: 'inherit' }) + cp.execSync('pnpm i -f', { stdio: 'inherit' }) }) afterEach(() => { originalCwd && process.chdir(originalCwd)