(studioFilePath)
| 138 | } |
| 139 | |
| 140 | const validateStudioFile = async (studioFilePath) => { |
| 141 | const afterReplaceStudio = await fs.readFile(studioFilePath, 'utf8') |
| 142 | |
| 143 | if (afterReplaceStudio.includes('process.env.CYPRESS_LOCAL_STUDIO_PATH')) { |
| 144 | throw new Error(`Expected process.env.CYPRESS_LOCAL_STUDIO_PATH to be stripped from studio file`) |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | const validateCyPromptFile = async (cyPromptFilePath) => { |
| 149 | const afterReplaceCyPrompt = await fs.readFile(cyPromptFilePath, 'utf8') |
no test coverage detected