/** * Unit tests for src/cli/push.ts * * NOTE: `loadInitConfig` is an unexported module-private function. * Its behavior is exercised here through two complementary approaches: * * 1. Filesystem integration: create real tmp dirs with config files, spy on * process.cwd() to point loadInitConfig at the right dir, and invoke * runPush with empty opts so loadInitConfig populates engineUrl/apiKey. * * 2. Guard-clause coverage: assert that runPush exits with specific console * error messages when required values are missing. * * Recommendation: extract `loadInitConfig` into a separate exported helper * (e.g. `src/config/load-init-config.ts`) so it can be tested in isolation * without touching the filesystem or monkey-patching process.cwd. */ export {}; //# sourceMappingURL=push.test.d.ts.map