userCurrentCalendarSubscriptionUpdate.mocks.ts 724 B

123456789101112
  1. import * as Types from '#shared/graphql/types.ts';
  2. import * as Mocks from '#tests/graphql/builders/mocks.ts'
  3. import * as Operations from './userCurrentCalendarSubscriptionUpdate.api.ts'
  4. export function mockUserCurrentCalendarSubscriptionUpdate(defaults: Mocks.MockDefaultsValue<Types.UserCurrentCalendarSubscriptionUpdateMutation, Types.UserCurrentCalendarSubscriptionUpdateMutationVariables>) {
  5. return Mocks.mockGraphQLResult(Operations.UserCurrentCalendarSubscriptionUpdateDocument, defaults)
  6. }
  7. export function waitForUserCurrentCalendarSubscriptionUpdateCalls() {
  8. return Mocks.waitForGraphQLMockCalls<Types.UserCurrentCalendarSubscriptionUpdateMutation>(Operations.UserCurrentCalendarSubscriptionUpdateDocument)
  9. }