* refactor(tools): organize internal CLI workflows - Group visual-oracle commands behind a Citty CLI and domain folders\n- Add imported-document visual comparison manifests and pixel-diff outputs\n- Consolidate package-quality checks behind stable check, smoke, and verify commands\n- Remove obsolete visual root aliases and compatibility scripts * fix(tools): validate visual oracle target scope - Validate manifest records, required strings, and optional field types\n- Reject explicit OpenPencil nodes outside the configured page * fix(tools): validate packaged runtime exports
15 lines
395 B
TypeScript
15 lines
395 B
TypeScript
import { describe, expect, test } from 'bun:test'
|
|
|
|
import { renderUsage } from 'citty'
|
|
|
|
import compareCommand from '../src/commands/compare'
|
|
|
|
describe('visual oracle CLI', () => {
|
|
test('groups node and document comparison under one command', async () => {
|
|
const usage = await renderUsage(compareCommand)
|
|
|
|
expect(usage).toContain('node')
|
|
expect(usage).toContain('document')
|
|
})
|
|
})
|