diff --git a/package.json b/package.json index 8cd6bcce3..25c0c9721 100644 --- a/package.json +++ b/package.json @@ -207,6 +207,7 @@ "window": {}, "console": {} }, + "maxWorkers": 4, "testEnvironment": "jsdom", "setupFilesAfterEnv": [ "/testSetupFile.js" diff --git a/src/pages/sponsors/sponsor-page/tabs/sponsor-forms-tab/components/customized-form/customized-form.js b/src/pages/sponsors/sponsor-page/tabs/sponsor-forms-tab/components/customized-form/customized-form.js index 37ad8b9e9..8c5c1072a 100644 --- a/src/pages/sponsors/sponsor-page/tabs/sponsor-forms-tab/components/customized-form/customized-form.js +++ b/src/pages/sponsors/sponsor-page/tabs/sponsor-forms-tab/components/customized-form/customized-form.js @@ -58,6 +58,7 @@ const CustomizedForm = ({ { initialValues: buildInitialValues(initialValues, summitTZ), validationSchema: yup.object().shape({ + name: requiredStringValidation(), code: requiredStringValidation(), instructions: requiredStringValidation(), opens_at: opensAtValidation(), @@ -113,6 +114,7 @@ const CustomizedForm = ({ "edit_sponsor.forms_tab.customized_form.name" )} fullWidth + required />