mirror of
https://github.com/stablyai/orca.git
synced 2026-11-03 18:47:40 +00:00
test: remove 140 low-value cases and 49 suites (#34062)
* test: remove 140 low-value cases and redundant browser probes * fix: remove unused upstream chat menu import * test: pin the host-split layout fixture branch --------- Co-authored-by: Orca Test Audit <test-audit@stably.ai> Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
This commit is contained in:
co-authored by
Orca Test Audit
OrcaWin
parent
7423c8c6e1
commit
ad2156c358
@@ -20,10 +20,6 @@ describe('getPRReviewCommentLineNumbersFromPatch', () => {
|
||||
expect(getPRReviewCommentLineNumbersFromPatch(patch)).toEqual([20, 21, 22, 23, 51, 52])
|
||||
})
|
||||
|
||||
it('returns an empty list when GitHub omits the patch', () => {
|
||||
expect(getPRReviewCommentLineNumbersFromPatch(undefined)).toEqual([])
|
||||
})
|
||||
|
||||
it('counts added lines whose content begins with ++', () => {
|
||||
// Inside a hunk +++count is added ++count content, not a file header.
|
||||
const patch = ['@@ -1,1 +1,2 @@', ' const a = 1', '+++count'].join('\n')
|
||||
|
||||
Reference in New Issue
Block a user