Skip to content

Commit c988dbb

Browse files
committed
refactor: update test runner
1 parent fc7cb1f commit c988dbb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

e2e/test-runner.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ function runTest(dir) {
3636
log('Removing node_modules')
3737
fs.removeSync(`${resolvedPath}/node_modules`)
3838

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

4242
log('Installing node_modules')
43-
run('npm install --silent')
43+
run('yarn install --silent')
4444

4545
log('Running tests')
46-
run('npm run test')
46+
run('yarn test')
4747

4848
success(`(${dir}) Complete`)
4949
}

0 commit comments

Comments
 (0)