From 86dc980b7856fc2276df77f8841ff8d3352b9d75 Mon Sep 17 00:00:00 2001 From: Gerard Rovira Date: Mon, 27 May 2024 15:34:51 -0400 Subject: [PATCH] remove --no-save --no-package-lock --- scripts/__tests__/integration/utils.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/__tests__/integration/utils.js b/scripts/__tests__/integration/utils.js index 452c5dedbc8..3267c4cba9f 100644 --- a/scripts/__tests__/integration/utils.js +++ b/scripts/__tests__/integration/utils.js @@ -88,11 +88,7 @@ async function buildExample({packageJson, exampleDir}) { (cleanDir) => fs.removeSync(path.resolve(exampleDir, cleanDir)), ); await withCwd(exampleDir, async () => { - await exec( - `npm install --no-save --no-package-lock ${installDeps - .map((fn) => `'${fn}'`) - .join(' ')}`, - ); + await exec(`npm install ${installDeps.map((fn) => `'${fn}'`).join(' ')}`); await exec('npm run build'); if (hasPlaywright) { await exec('npx playwright install');