Skip to content

Commit

Permalink
Add test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
golopot committed Mar 18, 2019
1 parent 4c1f15e commit 9c908b2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tests/lib/rules/jsx-curly-brace-presence.js
Expand Up @@ -251,6 +251,15 @@ ruleTester.run('jsx-curly-brace-presence', rule, {
`,
options: ['never']
},
{
code: `
<App prop={\`
a
b
\`} />
`,
options: ['always']
},
{
code: `
<App>
Expand All @@ -261,6 +270,15 @@ ruleTester.run('jsx-curly-brace-presence', rule, {
</App>
`,
options: ['never']
},
{
code: `
<App>{\`
a
b
\`}</App>
`,
options: ['always']
}
],

Expand Down

0 comments on commit 9c908b2

Please sign in to comment.