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