userCurrentLinkedAccount.mocks.ts 678 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 './userCurrentLinkedAccount.api.ts'
  4. export function mockUserCurrentRemoveLinkedAccountMutation(defaults: Mocks.MockDefaultsValue<Types.UserCurrentRemoveLinkedAccountMutation, Types.UserCurrentRemoveLinkedAccountMutationVariables>) {
  5. return Mocks.mockGraphQLResult(Operations.UserCurrentRemoveLinkedAccountDocument, defaults)
  6. }
  7. export function waitForUserCurrentRemoveLinkedAccountMutationCalls() {
  8. return Mocks.waitForGraphQLMockCalls<Types.UserCurrentRemoveLinkedAccountMutation>(Operations.UserCurrentRemoveLinkedAccountDocument)
  9. }