Current Behavior
A React warning is shown during UserSearchFieldInput tests because the key prop is being passed through a spread object in renderOption.
The tests pass successfully, but a console error appears in the test output.
Expected Behavior
No React warnings should be shown during test execution.
The key prop should be passed directly to the rendered element instead of being included in the spread props object.
Screenshots/Logs
Contributor Guides and Resources
Current Behavior
A React warning is shown during
UserSearchFieldInput testsbecause the key prop is being passed through a spread object in renderOption.The tests pass successfully, but a console error appears in the test output.
Expected Behavior
No React warnings should be shown during test execution.
The key prop should be passed directly to the rendered element instead of being included in the spread props object.
Screenshots/Logs
Contributor Guides and Resources