()
| 60 | * @returns The contents of the "config.json" file for the current integration (throws if it doesn't exist) |
| 61 | */ |
| 62 | export const readConfig = () => { |
| 63 | const integrationInfo = readIntegrationInfo(); |
| 64 | |
| 65 | const config = JSON.parse( |
| 66 | readFileSync(join(__dirname, `../integrations/${integrationInfo.integration}/config.json`)).toString() |
| 67 | ); |
| 68 | return config; |
| 69 | }; |
| 70 | |
| 71 | /** |
| 72 | * @param filename |
no test coverage detected