mirror of
https://github.com/stablyai/orca.git
synced 2026-11-16 02:47:34 +00:00
18 lines
533 B
TypeScript
18 lines
533 B
TypeScript
import { describe, expect, it } from 'vitest'
|
|
import { parseOrcaBrowserCommand } from './orca-browser-cli-commands'
|
|
|
|
describe('parseOrcaBrowserCommand', () => {
|
|
it.each([
|
|
'orca worktree ls',
|
|
'orca terminal send --text "orca click"',
|
|
'orcastra click',
|
|
'orca',
|
|
'echo orca click',
|
|
'echo "docs; orca snapshot --page p1; text"',
|
|
"git commit -m 'run orca click | orca snapshot'",
|
|
'git log --oneline'
|
|
])('does not match %s', (command) => {
|
|
expect(parseOrcaBrowserCommand(command)).toBeNull()
|
|
})
|
|
})
|