From 184fdbaa219d5b5059d28c474f139b3a5be7dccd Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Fri, 8 Oct 2021 14:00:01 +0530 Subject: [PATCH] single command --- libs/remix-tests/tests/testRunner.cli.spec.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/remix-tests/tests/testRunner.cli.spec.ts b/libs/remix-tests/tests/testRunner.cli.spec.ts index 255ace4898..07301c0e16 100644 --- a/libs/remix-tests/tests/testRunner.cli.spec.ts +++ b/libs/remix-tests/tests/testRunner.cli.spec.ts @@ -11,8 +11,7 @@ describe('testRunner: remix-tests CLI', () => { const dirContent = result.stdout.toString() // Install dependencies if 'node_modules' is not already present if(!dirContent.includes('node_modules')) { - execSync('npm cache clean --force', { cwd: resolve(__dirname + '/../../../dist/libs/remix-tests') }) - execSync('npm install', { cwd: resolve(__dirname + '/../../../dist/libs/remix-tests') }) + execSync('npm cache clean --force && npm install', { cwd: resolve(__dirname + '/../../../dist/libs/remix-tests') }) } }