From 0f70bbe14c8c2b8af4120dc0e7de4ed3b8068faa Mon Sep 17 00:00:00 2001 From: Dan Gowans Date: Fri, 17 Feb 2023 11:31:46 -0500 Subject: [PATCH] fix cypress browser --- test/1_serverCypress.js | 2 +- test/1_serverCypress.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/1_serverCypress.js b/test/1_serverCypress.js index 2a3d5e7a..424499ff 100644 --- a/test/1_serverCypress.js +++ b/test/1_serverCypress.js @@ -4,7 +4,7 @@ import { exec } from 'node:child_process'; import * as http from 'node:http'; import { app } from '../app.js'; function runCypress(browser, done) { - let cypressCommand = `cypress run --config-file cypress.config.js --browser ${browser}"`; + let cypressCommand = `cypress run --config-file cypress.config.js --browser ${browser}`; if ((process.env.CYPRESS_RECORD_KEY ?? '') !== '') { cypressCommand += ` --tag "${browser},${process.version} --record`; } diff --git a/test/1_serverCypress.ts b/test/1_serverCypress.ts index cf6aef05..4aa07a9c 100644 --- a/test/1_serverCypress.ts +++ b/test/1_serverCypress.ts @@ -10,7 +10,7 @@ import * as http from 'node:http' import { app } from '../app.js' function runCypress(browser: 'chrome' | 'firefox', done: () => void): void { - let cypressCommand = `cypress run --config-file cypress.config.js --browser ${browser}"` + let cypressCommand = `cypress run --config-file cypress.config.js --browser ${browser}` if ((process.env.CYPRESS_RECORD_KEY ?? '') !== '') { cypressCommand += ` --tag "${browser},${process.version} --record`