12345678910111213141516 |
- // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
- import { mockGraphQLApi } from '#tests/support/mock-graphql-api.ts'
- import { nullableMock } from '#tests/support/utils.ts'
- import { OnlineNotificationSeenDocument } from '#shared/entities/online-notification/graphql/mutations/seen.api.ts'
- import type { OnlineNotificationSeenPayload } from '#shared/graphql/types.ts'
- export const mockOnlineNotificationSeenGql = () => {
- return mockGraphQLApi(OnlineNotificationSeenDocument).willResolve(
- nullableMock<OnlineNotificationSeenPayload>({
- success: true,
- errors: null,
- }),
- )
- }
|