diff --git a/packages/react-dom/src/__tests__/ReactDOMComponent-test.js b/packages/react-dom/src/__tests__/ReactDOMComponent-test.js index 642c5834c881b..b83ce5d5e1f36 100644 --- a/packages/react-dom/src/__tests__/ReactDOMComponent-test.js +++ b/packages/react-dom/src/__tests__/ReactDOMComponent-test.js @@ -2506,6 +2506,34 @@ describe('ReactDOMComponent', () => { }); }); + describe('Boolean attributes', function() { + it('warns on the ambiguous string value "false"', function() { + let el; + expect(() => { + el = ReactTestUtils.renderIntoDocument(