userCurrentChangePassword.mocks.ts 644 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 './userCurrentChangePassword.api.ts'
  4. export function mockUserCurrentChangePasswordMutation(defaults: Mocks.MockDefaultsValue<Types.UserCurrentChangePasswordMutation, Types.UserCurrentChangePasswordMutationVariables>) {
  5. return Mocks.mockGraphQLResult(Operations.UserCurrentChangePasswordDocument, defaults)
  6. }
  7. export function waitForUserCurrentChangePasswordMutationCalls() {
  8. return Mocks.waitForGraphQLMockCalls<Types.UserCurrentChangePasswordMutation>(Operations.UserCurrentChangePasswordDocument)
  9. }