ticketArticleRetryMediaDownload.mocks.ts 692 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 './ticketArticleRetryMediaDownload.api.ts'
  4. export function mockTicketArticleRetryMediaDownloadMutation(defaults: Mocks.MockDefaultsValue<Types.TicketArticleRetryMediaDownloadMutation, Types.TicketArticleRetryMediaDownloadMutationVariables>) {
  5. return Mocks.mockGraphQLResult(Operations.TicketArticleRetryMediaDownloadDocument, defaults)
  6. }
  7. export function waitForTicketArticleRetryMediaDownloadMutationCalls() {
  8. return Mocks.waitForGraphQLMockCalls<Types.TicketArticleRetryMediaDownloadMutation>(Operations.TicketArticleRetryMediaDownloadDocument)
  9. }