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