userCurrentNotificationPreferencesUpdate.mocks.ts 764 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 './userCurrentNotificationPreferencesUpdate.api.ts'
  4. export function mockUserCurrentNotificationPreferencesUpdateMutation(defaults: Mocks.MockDefaultsValue<Types.UserCurrentNotificationPreferencesUpdateMutation, Types.UserCurrentNotificationPreferencesUpdateMutationVariables>) {
  5. return Mocks.mockGraphQLResult(Operations.UserCurrentNotificationPreferencesUpdateDocument, defaults)
  6. }
  7. export function waitForUserCurrentNotificationPreferencesUpdateMutationCalls() {
  8. return Mocks.waitForGraphQLMockCalls<Types.UserCurrentNotificationPreferencesUpdateMutation>(Operations.UserCurrentNotificationPreferencesUpdateDocument)
  9. }