@samitouri / QOS-React / commits / 432578ef03

Add another test for #5729

Ben Alpert committed Dec 23, 2015 at 16:25 UTC 432578ef03fc1dbae8b00eae3e96bfb541f8efa3
1 file changed +7
src/renderers/dom/client/wrappers/__tests__/ReactDOMInput-test.js
+7
@@ -442,4 +442,11 @@ describe('ReactDOMInput', function() {
442 'set value',
443 ]);
444 });
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 + });
452 });