message: Keep supporting undefined props in ReactTestComponent plugin
diff: @@ -41,13 +41,13 @@ function printInstance(instance, print, indent, colors, opts) {
  }
  let result = colors.tag.open + '<' + instance.type + colors.tag.close;
  + let closeInNewLine = false;
  if (instance.props) {
  result += printProps(instance.props, print, indent, colors, opts);
  + closeInNewLine = !!Object.keys(instance.props).length && !opts.min;
  }
  - const closeInNewLine = !!Object.keys(instance.props).length && !opts.min;
  -
  if (instance.children) {
  const children = printChildren(instance.children, print, indent, colors, opts);
  result += colors.tag.open + (closeInNewLine ? '\n' : '') + '>' + colors.tag.close + opts.edgeSpacing + indent(children) + opts.edgeSpacing + colors.tag.open + '</' + instance.type + '>' + colors.tag.close;
  