import { describe, expect, it } from 'vitest' import { buildWorkflowAssignApproversCommand } from '../../src/commands/workflow/assignApprovers.ts' describe('workflow assign-approvers command', () => { it('exposes the safe current-user and dry-run interface', () => { const command = buildWorkflowAssignApproversCommand() const optionNames = command.options.map(option => option.long) expect(command.name()).toBe('assign-approvers') expect(optionNames).toEqual(expect.arrayContaining([ '--id', '--current-user', '--approvers', '--nodes', '--dry-run', '--expected-enCode', '--expected-state', '--force', '--json', '--verbose', ])) }) })