test: remove 78 low-value cases and four entire suites (#34687)

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
This commit is contained in:
OrcaWin
2026-10-27 21:00:57 -07:00
committed by GitHub
co-authored by OrcaWin
parent a012e457e8
commit ee09f979fa
14 changed files with 5 additions and 793 deletions
@@ -1,18 +0,0 @@
import { describe, expect, it } from 'vitest'
import { normalizeLinkedPullRequests } from './project-view/project-view-field-normalization'
describe('normalizeLinkedPullRequests linked PR values', () => {
it('normalizes linked pull requests with a visible overflow count', () => {
const value = normalizeLinkedPullRequests({
__typename: 'ProjectV2ItemFieldPullRequestValue',
field: { id: 'field-pr', name: 'Linked pull requests', dataType: 'LINKED_PULL_REQUESTS' },
pullRequests: {
totalCount: 12,
nodes: [{ number: 12, title: 'Fix', url: 'https://github.com/o/r/pull/12' }, null]
}
})
expect(value).toEqual({
pullRequests: [{ number: 12, title: 'Fix', url: 'https://github.com/o/r/pull/12' }],
totalCount: 12
})
})
})