ticketsByOverview.mocks.ts 565 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 './ticketsByOverview.api.ts'
  4. export function mockTicketsByOverviewQuery(defaults: Mocks.MockDefaultsValue<Types.TicketsByOverviewQuery, Types.TicketsByOverviewQueryVariables>) {
  5. return Mocks.mockGraphQLResult(Operations.TicketsByOverviewDocument, defaults)
  6. }
  7. export function waitForTicketsByOverviewQueryCalls() {
  8. return Mocks.waitForGraphQLMockCalls<Types.TicketsByOverviewQuery>(Operations.TicketsByOverviewDocument)
  9. }