Skip to content

Commit

Permalink
refactor: update test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiller1990 committed Mar 28, 2020
1 parent fc7cb1f commit c988dbb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions e2e/test-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ function runTest(dir) {
log('Removing node_modules')
fs.removeSync(`${resolvedPath}/node_modules`)

log('Removing package-lock.json')
fs.removeSync(`${resolvedPath}/package-lock.json`)
log('Removing yarn-lock.json')
fs.removeSync(`${resolvedPath}/yarn-lock.json`)

log('Installing node_modules')
run('npm install --silent')
run('yarn install --silent')

log('Running tests')
run('npm run test')
run('yarn test')

success(`(${dir}) Complete`)
}
Expand Down

0 comments on commit c988dbb

Please sign in to comment.