Add another test for #5729

This commit is contained in:
Ben Alpert
2015-12-23 16:25:35 -08:00
parent 5043b89d5e
commit 432578ef03
@@ -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');
});
});