delete.mocks.ts 583 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 './delete.api.ts'
  4. export function mockTicketArticleDeleteMutation(defaults: Mocks.MockDefaultsValue<Types.TicketArticleDeleteMutation, Types.TicketArticleDeleteMutationVariables>) {
  5. return Mocks.mockGraphQLResult(Operations.TicketArticleDeleteDocument, defaults)
  6. }
  7. export function waitForTicketArticleDeleteMutationCalls() {
  8. return Mocks.waitForGraphQLMockCalls<Types.TicketArticleDeleteMutation>(Operations.TicketArticleDeleteDocument)
  9. }