diff --git a/tests/lib/rules/jsx-sort-props.js b/tests/lib/rules/jsx-sort-props.js
index 8a9abe937f..e6dd0aa0fc 100644
--- a/tests/lib/rules/jsx-sort-props.js
+++ b/tests/lib/rules/jsx-sort-props.js
@@ -62,6 +62,12 @@ const ignoreCaseAndCallbackLastArgs = [
ignoreCase: true,
},
];
+const reservedFirstAndCallbacksLastArgs = [
+ {
+ callbacksLast: true,
+ reservedFirst: true,
+ },
+];
const shorthandFirstArgs = [{ shorthandFirst: true }];
const shorthandLastArgs = [{ shorthandLast: true }];
const shorthandAndCallbackLastArgs = [
@@ -483,5 +489,11 @@ ruleTester.run('jsx-sort-props', rule, {
options: reservedFirstAsInvalidArrayArgs,
errors: [expectedInvalidReservedFirstError],
},
+ {
+ code: ';',
+ output: ';',
+ options: reservedFirstAndCallbacksLastArgs,
+ errors: [expectedCallbackError],
+ },
]),
});