mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Add another test for #5729
This commit is contained in:
@@ -442,4 +442,11 @@ describe('ReactDOMInput', function() {
|
||||
'set value',
|
||||
]);
|
||||
});
|
||||
|
||||
it('sets value properly with type coming later in props', function() {
|
||||
var input = ReactTestUtils.renderIntoDocument(
|
||||
<input value="hi" type="radio" />
|
||||
);
|
||||
expect(input.value).toBe('hi');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user