import * as Types from '#shared/graphql/types.ts'; import * as Mocks from '#tests/graphql/builders/mocks.ts' import * as Operations from './ticketOverviewTicketCount.api.ts' import * as ErrorTypes from '#shared/types/error.ts' export function mockTicketOverviewTicketCountQuery(defaults: Mocks.MockDefaultsValue) { return Mocks.mockGraphQLResult(Operations.TicketOverviewTicketCountDocument, defaults) } export function waitForTicketOverviewTicketCountQueryCalls() { return Mocks.waitForGraphQLMockCalls(Operations.TicketOverviewTicketCountDocument) } export function mockTicketOverviewTicketCountQueryError(message: string, extensions: {type: ErrorTypes.GraphQLErrorTypes }) { return Mocks.mockGraphQLResultWithError(Operations.TicketOverviewTicketCountDocument, message, extensions); }