(encryptionFilePath)
| 68 | } |
| 69 | |
| 70 | const validateEncryptionFile = async (encryptionFilePath) => { |
| 71 | const afterReplaceEncryption = await fs.readFile(encryptionFilePath, 'utf8') |
| 72 | |
| 73 | if (afterReplaceEncryption.includes('CY_TEST')) { |
| 74 | throw new Error(`Expected test key to be stripped from cloud encryption file`) |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | const getCloudEnvironmentFileSource = async (cloudApiFilePath) => { |
| 79 | const fileContents = await fs.readFile(cloudApiFilePath, 'utf8') |
no test coverage detected