userPasswordResetSend.mocks.ts 612 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 './userPasswordResetSend.api.ts'
  4. export function mockUserPasswordResetSendMutation(defaults: Mocks.MockDefaultsValue<Types.UserPasswordResetSendMutation, Types.UserPasswordResetSendMutationVariables>) {
  5. return Mocks.mockGraphQLResult(Operations.UserPasswordResetSendDocument, defaults)
  6. }
  7. export function waitForUserPasswordResetSendMutationCalls() {
  8. return Mocks.waitForGraphQLMockCalls<Types.UserPasswordResetSendMutation>(Operations.UserPasswordResetSendDocument)
  9. }