(cwd: string)
| 871 | } |
| 872 | |
| 873 | async function tryDeploy(cwd: string) { |
| 874 | const { exitCode, stdout, stderr } = await execCli( |
| 875 | binaryPath, |
| 876 | ['--yes'], |
| 877 | { |
| 878 | cwd, |
| 879 | stdio: 'inherit', |
| 880 | } |
| 881 | ); |
| 882 | |
| 883 | expect(exitCode, formatOutput({ stdout, stderr })).toBe(0); |
| 884 | } |
| 885 | |
| 886 | // Deploy once to populate the cache |
| 887 | await tryDeploy(directory); |
no test coverage detected