twoFactorMethodInitiateAuthentication.mocks.ts 740 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 './twoFactorMethodInitiateAuthentication.api.ts'
  4. export function mockTwoFactorMethodInitiateAuthenticationMutation(defaults: Mocks.MockDefaultsValue<Types.TwoFactorMethodInitiateAuthenticationMutation, Types.TwoFactorMethodInitiateAuthenticationMutationVariables>) {
  5. return Mocks.mockGraphQLResult(Operations.TwoFactorMethodInitiateAuthenticationDocument, defaults)
  6. }
  7. export function waitForTwoFactorMethodInitiateAuthenticationMutationCalls() {
  8. return Mocks.waitForGraphQLMockCalls<Types.TwoFactorMethodInitiateAuthenticationMutation>(Operations.TwoFactorMethodInitiateAuthenticationDocument)
  9. }