systemImportConfiguration.mocks.ts 644 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 './systemImportConfiguration.api.ts'
  4. export function mockSystemImportConfigurationMutation(defaults: Mocks.MockDefaultsValue<Types.SystemImportConfigurationMutation, Types.SystemImportConfigurationMutationVariables>) {
  5. return Mocks.mockGraphQLResult(Operations.SystemImportConfigurationDocument, defaults)
  6. }
  7. export function waitForSystemImportConfigurationMutationCalls() {
  8. return Mocks.waitForGraphQLMockCalls<Types.SystemImportConfigurationMutation>(Operations.SystemImportConfigurationDocument)
  9. }