Skip to content

Commit

Permalink
[Tests] fix jsx-max-depth tests in eslint 4
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Dec 8, 2020
1 parent 7f41894 commit d873bdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lib/rules/jsx-max-depth.js
Expand Up @@ -110,7 +110,7 @@ ruleTester.run('jsx-max-depth', rule, {
}, {
code: [
'export function MyComponent() {',
' const A = <>{<div />}</>;',
' const A = <React.Fragment>{<div />}</React.Fragment>;',
' return <div>{A}</div>;',
'}'
].join('\n')
Expand Down

0 comments on commit d873bdb

Please sign in to comment.