Skip to content

Commit

Permalink
pass arguments differently
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnC-80 committed Nov 22, 2024
1 parent cffac1f commit 4a02fdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/test/cypress-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,11 @@ class CypressService {
}
}

async installAndRun(...args) {
async installAndRun() {
console.log('Attempting cypress install...');
try {
await exec('npx cypress install');
this.runCypressTests(args);
this.runCypressTests.apply(this, arguments); // eslint-disable-line
} catch (e) {
console.log(e);
}
Expand Down

0 comments on commit 4a02fdb

Please sign in to comment.