markAllAsSeen.mocks.ts 674 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 './markAllAsSeen.api.ts'
  4. export function mockOnlineNotificationMarkAllAsSeenMutation(defaults: Mocks.MockDefaultsValue<Types.OnlineNotificationMarkAllAsSeenMutation, Types.OnlineNotificationMarkAllAsSeenMutationVariables>) {
  5. return Mocks.mockGraphQLResult(Operations.OnlineNotificationMarkAllAsSeenDocument, defaults)
  6. }
  7. export function waitForOnlineNotificationMarkAllAsSeenMutationCalls() {
  8. return Mocks.waitForGraphQLMockCalls<Types.OnlineNotificationMarkAllAsSeenMutation>(Operations.OnlineNotificationMarkAllAsSeenDocument)
  9. }