Appears to be working in Firefox but at least Chrome & Safari are broken. Should be a really recent regression so very few possible changes to blame...

Easiest repo: the todo list on our homepage.

renderWithValueAndExpect(undefined, 0);
        
        
        
        renderWithValueAndExpect('', 0);
        renderWithValueAndExpect('foo', 1);
        renderWithValueAndExpect('foo', 1);
        renderWithValueAndExpect(undefined, 2);
        renderWithValueAndExpect(null, 2);
        
        
        renderWithValueAndExpect('', 2);
        renderWithValueAndExpect(undefined, 2);
      }
    });
    it('should not incur unnecessary DOM mutations for boolean properties', function() {
      var container = document.createElement('div');
      ReactDOM.render(<div checked={true} />, container);
      var node = container.firstChild;
      var nodeValue = true;
      var nodeValueSetter = jest.genMockFn();
      Object.defineProperty(node, 'checked', {
        get: function() {
          return nodeValue;
        },
        set: nodeValueSetter.mockImplementation(function(newValue) {
          nodeValue = newValue;
        }),
      });
      ReactDOM.render(<div checked={true} />, container);