Update OpenCode command shape test

This commit is contained in:
Mohamed Boudra
2026-06-09 18:22:25 +07:00
parent 52a66cca70
commit edd5a99832
@@ -33,7 +33,12 @@ describe("OpenCodeAgentSession slash command timeout handling", () => {
await expect(session.listCommands?.()).resolves.toEqual(
expect.arrayContaining([
{ name: "compact", description: "Compact the current session", argumentHint: "" },
{
name: "compact",
description: "Compact the current session",
argumentHint: "",
kind: "command",
},
]),
);
await expect(session.listCommands?.()).resolves.not.toEqual(