seen.mocks.ts 602 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 './seen.api.ts'
  4. export function mockOnlineNotificationSeenMutation(defaults: Mocks.MockDefaultsValue<Types.OnlineNotificationSeenMutation, Types.OnlineNotificationSeenMutationVariables>) {
  5. return Mocks.mockGraphQLResult(Operations.OnlineNotificationSeenDocument, defaults)
  6. }
  7. export function waitForOnlineNotificationSeenMutationCalls() {
  8. return Mocks.waitForGraphQLMockCalls<Types.OnlineNotificationSeenMutation>(Operations.OnlineNotificationSeenDocument)
  9. }