userCurrentOutOfOffice.mocks.ts 620 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 './userCurrentOutOfOffice.api.ts'
  4. export function mockUserCurrentOutOfOfficeMutation(defaults: Mocks.MockDefaultsValue<Types.UserCurrentOutOfOfficeMutation, Types.UserCurrentOutOfOfficeMutationVariables>) {
  5. return Mocks.mockGraphQLResult(Operations.UserCurrentOutOfOfficeDocument, defaults)
  6. }
  7. export function waitForUserCurrentOutOfOfficeMutationCalls() {
  8. return Mocks.waitForGraphQLMockCalls<Types.UserCurrentOutOfOfficeMutation>(Operations.UserCurrentOutOfOfficeDocument)
  9. }