2

Hi i read all next asks: ant design v4 breaks react testing library tests for Select and Autocomplete

How to change ant design select option using react testing library

Ant Design and React Testing Library

Ant Design & React Testing Library - Testing Form with Select and others.

How can i test a ANTDesign Select component with react-testing-library, without jest ?

my component:

<Form.Item
    name="country"
    label="Country"
    rules={[
       {
           message: 'select a country',
           required: true,
       },
    ]}
>
    <Select options={[{ label: 'Spain', value: 'SP' }]} />
</Form.Item>

nothing has worked for me

1

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.