-
-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP - Migrate Forms to Typescript #1810
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Passing run #4697 ↗︎
Details:
Review all test suite changes for PR #1810 ↗︎ |
@@ -59,7 +58,7 @@ describe('Select', () => { | |||
const validate = () => ({ [fieldName]: 'Required' }); | |||
|
|||
const { container, findByText } = render( | |||
<Formik initialValues={{ [fieldName]: '' }} validate={validate}> | |||
<Formik initialValues={{ [fieldName]: '' }} validate={validate} onSubmit={() => {}}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having a hard time with this test (and the rest of the tests in the "interactions" suite).
I am getting the idea that the Alert is not being rendered in the test, so there is nothing for findByText('Required') to find?
…ront-end into migrate-forms-typescript
Description of changes
Migrating
Form
andForms
components to Typescript.Issue Resolved
Fixes #NA
Screenshots/GIFs