Files
ssw-mvp/dacli/tests/unit/workflow_sign_command.test.ts
T
admin 4d096dd97e chore(dacli): 提交 dacli CLI 工具源码并过滤敏感/噪声文件
- dacli/ 整目录被 .gitignore 忽略,本次 force-add 其业务源码(766 文件)
- 排除 node_modules/.env(含 PGPASSWORD 等敏感信息)/.DS_Store/__pycache__/*.pyc
- 新增 dacli/.gitignore 长期管理内部噪声,新增文件仍需 git add -f
- 根 .gitignore 补充 .cache/ 与诊断脚本忽略,并加 dacli 段说明
2026-08-06 19:02:39 +08:00

13 lines
471 B
TypeScript

import { describe, expect, it } from 'vitest'
import { buildWorkflowSignCommand } from '../../src/commands/workflow/sign.ts'
describe('workflow sign command', () => {
it('requires an operator id and exposes output options', () => {
const command = buildWorkflowSignCommand()
expect(command.name()).toBe('sign')
expect(command.options.map(option => option.long)).toEqual(expect.arrayContaining([
'--operatorId', '--json', '--verbose',
]))
})
})