()
| 593 | } |
| 594 | |
| 595 | async function vcEnvPullOverwrite() { |
| 596 | const { exitCode, stdout, stderr } = await execCli( |
| 597 | binaryPath, |
| 598 | ['env', 'pull'], |
| 599 | { |
| 600 | cwd: target, |
| 601 | } |
| 602 | ); |
| 603 | |
| 604 | expect(exitCode, formatOutput({ stdout, stderr })).toBe(0); |
| 605 | expect(stderr).toMatch(/Overwriting existing .env.local file/gm); |
| 606 | expect(stderr).toMatch(/Updated .env.local file/gm); |
| 607 | } |
| 608 | |
| 609 | async function vcEnvPullConfirm() { |
| 610 | fs.writeFileSync(path.join(target, '.env.local'), 'hahaha'); |
no test coverage detected