(overrides: Partial<WorkflowManifestEntry> = {})
| 59 | } |
| 60 | |
| 61 | function createWorkflow(overrides: Partial<WorkflowManifestEntry> = {}): WorkflowManifestEntry { |
| 62 | return { |
| 63 | id: 'test-workflow', |
| 64 | title: 'Test Workflow', |
| 65 | description: 'A test workflow', |
| 66 | targetPlatforms: [], |
| 67 | availability: { mcp: true, cli: true }, |
| 68 | predicates: [], |
| 69 | tools: ['test_tool'], |
| 70 | ...overrides, |
| 71 | }; |
| 72 | } |
| 73 | |
| 74 | describe('exposure', () => { |
| 75 | describe('isWorkflowAvailableForRuntime', () => { |