(imageName: string)
| 7 | } |
| 8 | |
| 9 | async function runE2EContainerTest(imageName: string) { |
| 10 | return await execProcess(`docker run ${imageName}:latest`).then(result => { |
| 11 | if (result.code !== 0) { |
| 12 | throw new Error('E2E test have failed! Check logs for execution details.'); |
| 13 | } |
| 14 | }); |
| 15 | } |
| 16 | |
| 17 | export async function E2EDeploymentTest(dockerfile: string) { |
| 18 | const imageName = 'node-catboost-e2e-deploy-test'; |
no test coverage detected