mirror of
https://github.com/stablyai/orca.git
synced 2026-11-04 02:57:36 +00:00
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:
@@ -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
|
||||
})
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user