test: remove 338 low-value cases and 28 suites (#34234)

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
This commit is contained in:
OrcaWin
2026-10-26 22:58:55 -07:00
committed by GitHub
co-authored by OrcaWin
parent fa4d2e99db
commit 84494ce394
117 changed files with 28 additions and 4379 deletions
@@ -26,7 +26,7 @@ vi.mock('./project-error-classification', () => ({
rateLimitedError: vi.fn()
}))
import { listAssignableUsersBySlug, listLabelsBySlug } from './repository-field-options'
import { listLabelsBySlug } from './repository-field-options'
describe('repository field options', () => {
beforeEach(() => {
@@ -49,25 +49,4 @@ describe('repository field options', () => {
)
expect(releaseMock).toHaveBeenCalledOnce()
})
it('merges seed assignees after paginated provider results', async () => {
ghExecFileAsyncMock.mockResolvedValue({
stdout: '{"login":"octo","name":null,"avatarUrl":"octo.png"}\n',
stderr: ''
})
const result = await listAssignableUsersBySlug({
owner: 'acme',
repo: 'widgets',
seedLogins: ['octo', 'hubot']
})
expect(result).toEqual({
ok: true,
users: [
{ login: 'octo', name: null, avatarUrl: 'octo.png' },
{ login: 'hubot', name: null, avatarUrl: '' }
]
})
})
})