Skip to content

Commit 432578e

Browse files
committed
Add another test for facebook#5729
1 parent 5043b89 commit 432578e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/renderers/dom/client/wrappers/__tests__/ReactDOMInput-test.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,4 +442,11 @@ describe('ReactDOMInput', function() {
442442
'set value',
443443
]);
444444
});
445+
446+
it('sets value properly with type coming later in props', function() {
447+
var input = ReactTestUtils.renderIntoDocument(
448+
<input value="hi" type="radio" />
449+
);
450+
expect(input.value).toBe('hi');
451+
});
445452
});

0 commit comments

Comments
 (0)