summaryrefslogtreecommitdiff
path: root/test/lisp/progmodes/js-resources/jsx-self-closing.jsx
blob: f8ea7a138ad775a1e00c5845d9a2a5048e168425 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Local Variables:
// indent-tabs-mode: nil
// js-indent-level: 2
// End:

// The following test goes below any comments to avoid including
// misindented comments among the erroring lines.

// Properly parse/indent code with a self-closing tag inside the
// attribute of another self-closing tag.
<div>
  <div attr={() => <div attr="" />} />
</div>