import React from 'react' import { isUndefined } from 'lodash' const configFileFormatted = (configFile) => { if (configFile === false) { return ( <> cypress.json {' '} file (currently disabled by {' '} --config-file false ) ) } if (isUndefined(configFile) || configFile === 'cypress.json') { return ( <> cypress.json {' '} file ) } return ( <> custom config file {configFile} ) } export { configFileFormatted, }