mirror of
https://github.com/stablyai/orca.git
synced 2026-10-22 08:03:37 +00:00
test(mobile): use unsupported review provider fixture
This commit is contained in:
@@ -146,7 +146,7 @@ describe('buildMobileCreatePrAction', () => {
|
||||
|
||||
it('keeps a disabled status row for providers without review creation', () => {
|
||||
const { descriptor } = action({
|
||||
eligibility: eligibility({ provider: 'bitbucket' as HostedReviewProvider })
|
||||
eligibility: eligibility({ provider: 'unsupported' })
|
||||
})
|
||||
|
||||
expect(descriptor).toMatchObject({
|
||||
@@ -211,7 +211,7 @@ describe('cold-mount layout stability (issue #8411)', () => {
|
||||
'unsupported provider',
|
||||
{
|
||||
kind: 'ready',
|
||||
eligibility: eligibility({ provider: 'bitbucket' as HostedReviewProvider })
|
||||
eligibility: eligibility({ provider: 'unsupported' })
|
||||
} satisfies MobileCreatePrEligibilityState
|
||||
],
|
||||
['eligibility error', { kind: 'error' } satisfies MobileCreatePrEligibilityState]
|
||||
|
||||
Reference in New Issue
Block a user