MCPcopy Create free account
hub / github.com/tiann/hapi / releaseListSlashCommands

Function releaseListSlashCommands

cli/src/opencode/runOpencode.test.ts:260–260  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

258
259 it('cancels a slash command that is cancelled before listSlashCommands resolves', async () => {
260 let releaseListSlashCommands: () => void = () => {};
261 const slashCommandsPromise = new Promise<unknown[]>((resolve) => {
262 releaseListSlashCommands = () => resolve([]);
263 });

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected