userCurrentAppearance.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 './userCurrentAppearance.api.ts'
  4. export function mockUserCurrentAppearanceMutation(defaults: Mocks.MockDefaultsValue<Types.UserCurrentAppearanceMutation, Types.UserCurrentAppearanceMutationVariables>) {
  5. return Mocks.mockGraphQLResult(Operations.UserCurrentAppearanceDocument, defaults)
  6. }
  7. export function waitForUserCurrentAppearanceMutationCalls() {
  8. return Mocks.waitForGraphQLMockCalls<Types.UserCurrentAppearanceMutation>(Operations.UserCurrentAppearanceDocument)
  9. }