expect(() => {
      expect(() => ReactTestUtils.renderIntoDocument(<Y />)).toWarnDev(
        /*  'React.createElement: type is invalid -- expected a string (for built-in components) ' +
            'or a class/function (for composite components) but got: null.',
            */