mirror of
https://github.com/stablyai/orca.git
synced 2026-11-15 10:27:33 +00:00
test: remove 660 low-value tests (#39547)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
This commit is contained in:
@@ -42,12 +42,6 @@ describe('shouldUseRendererBackedCodexTerminal', () => {
|
||||
expect(shouldUseRendererBackedCodexTerminal('codex --no-daemon resume --last')).toBe(true)
|
||||
expect(shouldUseRendererBackedCodexTerminal('codex --no-daemon exec summarize')).toBe(false)
|
||||
})
|
||||
|
||||
it('ignores non-Codex commands', () => {
|
||||
expect(shouldUseRendererBackedCodexTerminal(undefined)).toBe(false)
|
||||
expect(shouldUseRendererBackedCodexTerminal('claude')).toBe(false)
|
||||
expect(shouldUseRendererBackedCodexTerminal('npm exec codex')).toBe(false)
|
||||
})
|
||||
})
|
||||
|
||||
describe('shouldUseRendererBackedInteractiveTerminal', () => {
|
||||
@@ -66,9 +60,4 @@ describe('shouldUseRendererBackedInteractiveTerminal', () => {
|
||||
expect(shouldUseRendererBackedInteractiveTerminal('claude --help')).toBe(false)
|
||||
expect(shouldUseRendererBackedInteractiveTerminal('claude --version')).toBe(false)
|
||||
})
|
||||
|
||||
it('preserves Codex command classification', () => {
|
||||
expect(shouldUseRendererBackedInteractiveTerminal('codex')).toBe(true)
|
||||
expect(shouldUseRendererBackedInteractiveTerminal('codex exec summarize')).toBe(false)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user