style: tidy cli formatting
This commit is contained in:
@@ -59,11 +59,9 @@ describe("agents add command", () => {
|
||||
it("requires --workspace in non-interactive mode", async () => {
|
||||
configMocks.readConfigFileSnapshot.mockResolvedValue({ ...baseSnapshot });
|
||||
|
||||
await agentsAddCommand(
|
||||
{ name: "Work", nonInteractive: true },
|
||||
runtime,
|
||||
{ hasFlags: false },
|
||||
);
|
||||
await agentsAddCommand({ name: "Work", nonInteractive: true }, runtime, {
|
||||
hasFlags: false,
|
||||
});
|
||||
|
||||
expect(runtime.error).toHaveBeenCalledWith(
|
||||
expect.stringContaining("--workspace"),
|
||||
|
||||
@@ -87,7 +87,7 @@ const uninstallLegacyGatewayServices = vi.fn().mockResolvedValue([]);
|
||||
const findExtraGatewayServices = vi.fn().mockResolvedValue([]);
|
||||
const renderGatewayServiceCleanupHints = vi.fn().mockReturnValue(["cleanup"]);
|
||||
const resolveGatewayProgramArguments = vi.fn().mockResolvedValue({
|
||||
programArguments: ["node", "cli", "gateway", "--port", "18789"],
|
||||
programArguments: ["node", "cli", "gateway", "--port", "18789"],
|
||||
});
|
||||
const serviceInstall = vi.fn().mockResolvedValue(undefined);
|
||||
const serviceIsLoaded = vi.fn().mockResolvedValue(false);
|
||||
|
||||
Reference in New Issue
Block a user