section 6: Phase 6: Launch a multi-run from the TUI (/multirun)

This commit is contained in:
Chris Scott committed 2026-10-07 18:33:03 -04:00
1 parent e63f756c32
commit 0aaa2bd3d6
6 files changed
+590 -3

No files matched your search

+13
View File
@@ -230,6 +230,19 @@ describe('setupOcm', () => {
const goal = factory().commands.find((entry) => entry.id === 'ocm.goal')
expect(goal?.slash).toEqual({ name: 'goal', arguments: true })
})
it('exposes the multi-run slash command', async () => {
const fake = createFakeContext()
await setupOcm(fake.context, vi.fn(), noFeatures)
renderAppSlot(fake)
const factory = fake.layer.mock.calls[0]![0] as () => {
commands: { id: string; slash?: { name: string; arguments?: true } }[]
}
const multiRun = factory().commands.find((entry) => entry.id === 'ocm.multirun')
expect(multiRun?.slash).toEqual({ name: 'multirun', arguments: true })
})
})
describe('ocm.session.move command', () => {