From 4a02fdbee75a7229d8cc71f56dc5f7da6ddcd5d0 Mon Sep 17 00:00:00 2001 From: John Coburn Date: Fri, 22 Nov 2024 10:54:56 -0600 Subject: [PATCH] pass arguments differently --- lib/test/cypress-service.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }