(protocolFilePath)
| 130 | } |
| 131 | |
| 132 | const validateProtocolFile = async (protocolFilePath) => { |
| 133 | const afterReplaceProtocol = await fs.readFile(protocolFilePath, 'utf8') |
| 134 | |
| 135 | if (afterReplaceProtocol.includes('process.env.CYPRESS_LOCAL_PROTOCOL_PATH')) { |
| 136 | throw new Error(`Expected process.env.CYPRESS_LOCAL_PROTOCOL_PATH to be stripped from protocol file`) |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | const validateStudioFile = async (studioFilePath) => { |
| 141 | const afterReplaceStudio = await fs.readFile(studioFilePath, 'utf8') |
no test coverage detected