Skip to content

Commit 9fd27ea

Browse files
dante01yoonampagent
andcommitted
test: provide subscription in billing context mock
Amp-Thread-ID: https://ampcode.com/threads/T-01a02479-3fb4-70b8-886b-39205e4a7c4d Co-authored-by: Amp <amp@ampcode.com>
1 parent 2e89c37 commit 9fd27ea

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/services/dialogService.topUpCredits.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ vi.mock('@/composables/billing/useBillingContext', () => ({
4747
},
4848
isTeamPlan: { value: state.isTeamPlan },
4949
tier: { value: state.tier },
50+
subscription: { value: null },
5051
type: { value: state.type }
5152
})
5253
}))

0 commit comments

Comments
 (0)