(cyPromptFilePath)
| 146 | } |
| 147 | |
| 148 | const validateCyPromptFile = async (cyPromptFilePath) => { |
| 149 | const afterReplaceCyPrompt = await fs.readFile(cyPromptFilePath, 'utf8') |
| 150 | |
| 151 | if (afterReplaceCyPrompt.includes('process.env.CYPRESS_LOCAL_CY_PROMPT_PATH')) { |
| 152 | throw new Error(`Expected process.env.CYPRESS_LOCAL_CY_PROMPT_PATH to be stripped from cy prompt file`) |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | module.exports = { |
| 157 | getBinaryEntryPointSource, |
no test coverage detected