(containerName: string, command: string, timeout = 30000)
| 199 | |
| 200 | // Execute command in Docker container |
| 201 | function dockerExec(containerName: string, command: string, timeout = 30000): boolean { |
| 202 | const result = spawnSync('docker', ['exec', containerName, 'bash', '-c', command], { |
| 203 | stdio: 'pipe', |
| 204 | timeout, |
| 205 | }); |
| 206 | return result.status === 0; |
| 207 | } |
| 208 | |
| 209 | // Start a Docker container |
| 210 | function startContainer(config: ContainerConfig): boolean { |
no outgoing calls
no test coverage detected