diff --git a/lib/test/cypress-service.js b/lib/test/cypress-service.js index 810f3fc..7bcf5ad 100644 --- a/lib/test/cypress-service.js +++ b/lib/test/cypress-service.js @@ -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); }