channelEmailAdd.mocks.ts 564 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 './channelEmailAdd.api.ts'
  4. export function mockChannelEmailAddMutation(defaults: Mocks.MockDefaultsValue<Types.ChannelEmailAddMutation, Types.ChannelEmailAddMutationVariables>) {
  5. return Mocks.mockGraphQLResult(Operations.ChannelEmailAddDocument, defaults)
  6. }
  7. export function waitForChannelEmailAddMutationCalls() {
  8. return Mocks.waitForGraphQLMockCalls<Types.ChannelEmailAddMutation>(Operations.ChannelEmailAddDocument)
  9. }