test: get rid of 'should be 1' comment This should not be 1, since boolean properties always get set.
test: get rid of 'should be 1' comment This should not be 1, since boolean properties always get set.
Dave committed
Feb 1, 2016 at 12:53 UTC
1beae0c4ff5ce6824092de34273dfae702ac81c3
1 file changed
+1
-1
src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js
+1
-1
@@ -675,7 +675,7 @@ describe('ReactDOMComponent', function() {
675
expect(nodeValueSetter.mock.calls.length).toBe(1);
676
677
ReactDOM.render(<div checked={false} />, container);
678
- expect(nodeValueSetter.mock.calls.length).toBe(2); // should be 1
678
+ expect(nodeValueSetter.mock.calls.length).toBe(2);
679
680
ReactDOM.render(<div checked={true} />, container);
681
expect(nodeValueSetter.mock.calls.length).toBe(3);