Skip to content

Commit 866f532

Browse files
committed
avoid using React fragments for tests code
1 parent b42e4f0 commit 866f532

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/lib/rules/jsx-no-leaked-render.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,11 @@ ruleTester.run('jsx-no-leaked-render', rule, {
160160
output: `
161161
const Example = () => {
162162
return (
163-
<>
163+
<div>
164164
{0 ? <Something/> : null}
165165
{'' ? <Something/> : null}
166166
{NaN ? <Something/> : null}
167-
</>
167+
</div>
168168
)
169169
}
170170
`,

0 commit comments

Comments
 (0)