Files
reverse-engineering-anything/tests/boundary/cli/skillSync.test.ts
T
46728ca41d test: remove per-test deadlines owned by project policy
Explicit deadlines at or below the project deadline only shortened it:
a literal 30-second value also disabled the coverage scaling, which timed
out wide-capacity regressions on main. Workloads above the built
deadline use the long-running tag. Deadlines derived from an operation
budget remain.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:27:07 +08:00

28 lines
870 B
TypeScript

import { readdir } from "node:fs/promises";
import { describe, expect } from "vitest";
import { workspaceCliTest } from "../../support/cli/workspaceCliFixture.js";
describe("CLI skill lifecycle boundary", () => {
workspaceCliTest(
"does not expose the unmanaged Incur skill generator",
async ({ cli, workspace }) => {
const help = await cli.run({
arguments: ["--help"],
environment: workspace.environment,
});
expect(help).toMatchObject({ exitCode: 0 });
expect(help.stdout).not.toMatch(/^\s+skills\b/mu);
const result = await cli.run({
arguments: ["skills", "add"],
environment: workspace.environment,
});
expect(result.exitCode).toBe(1);
expect(result.stdout).toContain("COMMAND_NOT_FOUND");
await expect(readdir(workspace.home)).resolves.toEqual([]);
},
);
});