mirror of
https://github.com/stablyai/orca.git
synced 2026-10-30 16:47:34 +00:00
12 lines
412 B
TypeScript
12 lines
412 B
TypeScript
import { describe, expect, it } from 'vitest'
|
|
import { isRemoteSshEditorCommand } from './remote-ssh-editor-launcher'
|
|
|
|
describe('remote SSH editor launcher capability', () => {
|
|
it.each(['subl', 'code --reuse-window', 'zed --new', 'open -a "Visual Studio Code"'])(
|
|
'rejects an unsupported or compound command: %s',
|
|
(command) => {
|
|
expect(isRemoteSshEditorCommand(command)).toBe(false)
|
|
}
|
|
)
|
|
})
|