本仓 2026-08-12 从 ssw main (192.168.1.18:13300/ssw/ssw-mvp) 的 dacli/ subpath 抽取,作为独立仓托管到 gitea:3000/ssw/dacli.git。 - 工作树为 ssw main dacli subpath 最新版 (110 commit, 08-12) - 历史未带 ssw main 整体历史(避免大仓污染) - 此为新仓基线 commit,未来以本仓历史为主
13 lines
471 B
TypeScript
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',
|
|
]))
|
|
})
|
|
})
|