Skip to content

Commit

Permalink
[fix]sort-comp: add nested component test to multilineexpression
Browse files Browse the repository at this point in the history
  • Loading branch information
vedadeepta committed Sep 12, 2019
1 parent 30bba42 commit 1f1593b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/lib/rules/jsx-curly-brace-presence.js
Expand Up @@ -363,13 +363,17 @@ ruleTester.run('jsx-curly-brace-presence', rule, {
code: `
<MyComponent>
{'foo'}
<div>{'%'}</div>
<div>
{'bar'}
</div>
</MyComponent>
`,
output: `
<MyComponent>
{'foo'}
<div>%</div>
<div>
bar
</div>
</MyComponent>
`,
parser: parsers.BABEL_ESLINT,
Expand Down

0 comments on commit 1f1593b

Please sign in to comment.