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');