Skip to content

Commit e26b7e2

Browse files
committed
[Tests] clean up some formatting
1 parent 3ac7943 commit e26b7e2

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

tests/lib/rules/jsx-sort-props.js

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -235,20 +235,28 @@ ruleTester.run('jsx-sort-props', rule, {
235235
code: '<App a z onFoo onBar />;',
236236
errors: [expectedError],
237237
options: callbacksLastArgs
238-
}, {
238+
},
239+
{
239240
code: '<App a onBar onFoo z />;',
240241
errors: [expectedCallbackError],
241242
options: callbacksLastArgs
242-
}, {
243+
},
244+
{
243245
code: '<App a="a" b />;',
244246
errors: [expectedShorthandFirstError],
245247
options: shorthandFirstArgs
246248
},
247-
{code: '<App z x a="a" />;', errors: [expectedError], options: shorthandFirstArgs}, {
249+
{
250+
code: '<App z x a="a" />;',
251+
errors: [expectedError],
252+
options: shorthandFirstArgs
253+
},
254+
{
248255
code: '<App b a="a" />;',
249256
errors: [expectedShorthandLastError],
250257
options: shorthandLastArgs
251-
}, {
258+
},
259+
{
252260
code: '<App a="a" onBar onFoo z x />;',
253261
errors: [shorthandAndCallbackLastArgs],
254262
options: shorthandLastArgs

0 commit comments

Comments
 (0)