fix cypress command

deepsource-autofix-76c6eb20
Dan Gowans 2023-02-17 11:34:19 -05:00
parent 0f70bbe14c
commit cf5cd5167e
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import { app } from '../app.js';
function runCypress(browser, done) {
let cypressCommand = `cypress run --config-file cypress.config.js --browser ${browser}`;
if ((process.env.CYPRESS_RECORD_KEY ?? '') !== '') {
cypressCommand += ` --tag "${browser},${process.version} --record`;
cypressCommand += ` --tag "${browser},${process.version}" --record`;
}
const childProcess = exec(cypressCommand);
childProcess.stdout?.on('data', (data) => {

View File

@ -13,7 +13,7 @@ function runCypress(browser: 'chrome' | 'firefox', done: () => void): void {
let cypressCommand = `cypress run --config-file cypress.config.js --browser ${browser}`
if ((process.env.CYPRESS_RECORD_KEY ?? '') !== '') {
cypressCommand += ` --tag "${browser},${process.version} --record`
cypressCommand += ` --tag "${browser},${process.version}" --record`
}
const childProcess = exec(cypressCommand)