(dockerfile: string)
| 15 | } |
| 16 | |
| 17 | export async function E2EDeploymentTest(dockerfile: string) { |
| 18 | const imageName = 'node-catboost-e2e-deploy-test'; |
| 19 | const imageBuildExecution = await buildE2ETestImage(imageName, dockerfile); |
| 20 | if (imageBuildExecution.code !== 0) { |
| 21 | throw imageBuildExecution.err ?? new Error('Failed to build E2E test image!' + |
| 22 | 'Check execution logs for details.'); |
| 23 | } |
| 24 | |
| 25 | return runE2EContainerTest(imageName); |
| 26 | } |
no test coverage detected