Rebuild.
Testing / prettier (push) Failing after 1m59s
Testing / unit-test (20.x) (push) Failing after 3m31s
Testing / e2e-test (20.x) (push) Failing after 4m39s

This commit is contained in:
2026-01-01 14:23:49 -05:00
parent ebbaff0628
commit d3e130a8e8
15 changed files with 1603 additions and 930 deletions
+12
View File
@@ -0,0 +1,12 @@
"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();
});