single command

monaco_editor
Aniket-Engg 3 years ago committed by Aniket
parent 1148ab2b68
commit 184fdbaa21
  1. 3
      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') })
}
}

Loading…
Cancel
Save