text: import { submit, transformForSubmit } from './submit-questionnaire';
  import { loadQuestionnaires } from './load-questionnaires';
  import { loadPdfData } from './load-pdf';
  
  const USE_MOCK_DATA = window.Cypress;
  
  const loadQuestionnairesCurry = () => loadQuestionnaires(USE_MOCK_DATA);
  const submitCurry = (form, formConfig) => submit(false, form, formConfig);
  const pdfCurry = questionnaireResponseId =>
    loadPdfData(false, questionnaireResponseId);
  
  export {
    submitCurry as submit,
    transformForSubmit,
    loadQuestionnairesCurry as loadQuestionnaires,
    pdfCurry as loadPdfData,
  };
  