(backend)
| 6 | const backendsDirectory = path.join(devTestDirectory, 'backends'); |
| 7 | |
| 8 | async function copyBackendFiles(backend) { |
| 9 | await Promise.all( |
| 10 | ['config.yml', 'index.html'].map(file => { |
| 11 | return fs.copyFile( |
| 12 | path.join(backendsDirectory, backend, file), |
| 13 | path.join(devTestDirectory, file), |
| 14 | ); |
| 15 | }), |
| 16 | ); |
| 17 | } |
| 18 | |
| 19 | async function updateConfig(configModifier) { |
| 20 | const configFile = path.join(devTestDirectory, 'config.yml'); |
no test coverage detected