- dacli/ 整目录被 .gitignore 忽略,本次 force-add 其业务源码(766 文件) - 排除 node_modules/.env(含 PGPASSWORD 等敏感信息)/.DS_Store/__pycache__/*.pyc - 新增 dacli/.gitignore 长期管理内部噪声,新增文件仍需 git add -f - 根 .gitignore 补充 .cache/ 与诊断脚本忽略,并加 dacli 段说明
13 lines
481 B
TypeScript
13 lines
481 B
TypeScript
import { describe, expect, it } from 'vitest'
|
|
import { buildWorkflowHandleCommand } from '../../src/commands/workflow/handle.ts'
|
|
|
|
describe('workflow handle command', () => {
|
|
it('requires an operator id and exposes output options', () => {
|
|
const command = buildWorkflowHandleCommand()
|
|
expect(command.name()).toBe('handle')
|
|
expect(command.options.map(option => option.long)).toEqual(expect.arrayContaining([
|
|
'--operatorId', '--json', '--verbose',
|
|
]))
|
|
})
|
|
})
|