systemImportStart.mocks.ts 580 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 './systemImportStart.api.ts'
  4. export function mockSystemImportStartMutation(defaults: Mocks.MockDefaultsValue<Types.SystemImportStartMutation, Types.SystemImportStartMutationVariables>) {
  5. return Mocks.mockGraphQLResult(Operations.SystemImportStartDocument, defaults)
  6. }
  7. export function waitForSystemImportStartMutationCalls() {
  8. return Mocks.waitForGraphQLMockCalls<Types.SystemImportStartMutation>(Operations.SystemImportStartDocument)
  9. }