linkRemove.mocks.ts 524 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 './linkRemove.api.ts'
  4. export function mockLinkRemoveMutation(defaults: Mocks.MockDefaultsValue<Types.LinkRemoveMutation, Types.LinkRemoveMutationVariables>) {
  5. return Mocks.mockGraphQLResult(Operations.LinkRemoveDocument, defaults)
  6. }
  7. export function waitForLinkRemoveMutationCalls() {
  8. return Mocks.waitForGraphQLMockCalls<Types.LinkRemoveMutation>(Operations.LinkRemoveDocument)
  9. }