Commit 184fdbaa authored by Aniket-Engg's avatar Aniket-Engg Committed by Aniket

single command

parent 1148ab2b
...@@ -11,8 +11,7 @@ describe('testRunner: remix-tests CLI', () => { ...@@ -11,8 +11,7 @@ describe('testRunner: remix-tests CLI', () => {
const dirContent = result.stdout.toString() const dirContent = result.stdout.toString()
// Install dependencies if 'node_modules' is not already present // Install dependencies if 'node_modules' is not already present
if(!dirContent.includes('node_modules')) { if(!dirContent.includes('node_modules')) {
execSync('npm cache clean --force', { cwd: resolve(__dirname + '/../../../dist/libs/remix-tests') }) execSync('npm cache clean --force && npm install', { cwd: resolve(__dirname + '/../../../dist/libs/remix-tests') })
execSync('npm install', { cwd: resolve(__dirname + '/../../../dist/libs/remix-tests') })
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment