When you run the tests (npm test) for the Patient Registration module, Formik displays an error/warning message (see attachments) regarding the then property being undefined. This could potentially be due to a Promise not returning anything.
Pull request