userCurrentAvatarSelect.mocks.ts 628 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 './userCurrentAvatarSelect.api.ts'
  4. export function mockUserCurrentAvatarSelectMutation(defaults: Mocks.MockDefaultsValue<Types.UserCurrentAvatarSelectMutation, Types.UserCurrentAvatarSelectMutationVariables>) {
  5. return Mocks.mockGraphQLResult(Operations.UserCurrentAvatarSelectDocument, defaults)
  6. }
  7. export function waitForUserCurrentAvatarSelectMutationCalls() {
  8. return Mocks.waitForGraphQLMockCalls<Types.UserCurrentAvatarSelectMutation>(Operations.UserCurrentAvatarSelectDocument)
  9. }