"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const path_1 = require("path"); const cli_testing_library_1 = require("cli-testing-library"); require("cli-testing-library/extend-expect"); const utils_1 = require("./utils"); it('cli flow when there are no changes', async () => { const { gitDir, cleanup } = await (0, utils_1.prepareEnvironment)(); const { findByText } = await (0, cli_testing_library_1.render)(`OCO_AI_PROVIDER='test' node`, [(0, path_1.resolve)('./out/cli.cjs')], { cwd: gitDir }); expect(await findByText('No changes detected')).toBeInTheConsole(); await cleanup(); });