Skip to content

Commit 58c9063

Browse files
committed
fix failing tests
1 parent 1625b1a commit 58c9063

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/lib/rules/jsx-handler-names.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,11 @@ ruleTester.run('jsx-handler-names', rule, {
189189
code: `
190190
function App() {
191191
return (
192-
<>
192+
<div>
193193
<MyLibInput customPropNameBar={handleSomething} />;
194194
<MyLibCheckbox customPropNameBar={handleSomething} />;
195195
<MyLibButtom customPropNameBar={handleSomething} />;
196-
</>
196+
</div>
197197
)
198198
}
199199
`,
@@ -391,11 +391,11 @@ ruleTester.run('jsx-handler-names', rule, {
391391
code: `
392392
function App() {
393393
return (
394-
<>
394+
<div>
395395
<MyLibInput customPropNameBar={handleInput} />;
396396
<MyLibCheckbox customPropNameBar={handleCheckbox} />;
397397
<MyLibButtom customPropNameBar={handleButton} />;
398-
</>
398+
</div>
399399
)
400400
}
401401
`,

0 commit comments

Comments
 (0)