From a5fa52ce12697abd9bcf6ed502cb169ee7bd6f9d Mon Sep 17 00:00:00 2001 From: Eugene Tihonov Date: Mon, 8 Oct 2018 20:58:30 +0500 Subject: [PATCH] Add testcases from issues #1993 and #1992 --- tests/lib/rules/jsx-sort-props.js | 90 +++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) diff --git a/tests/lib/rules/jsx-sort-props.js b/tests/lib/rules/jsx-sort-props.js index 0fdddf92d9..082ef11f4e 100644 --- a/tests/lib/rules/jsx-sort-props.js +++ b/tests/lib/rules/jsx-sort-props.js @@ -243,6 +243,96 @@ ruleTester.run('jsx-sort-props', rule, { output: '', errors: 1 }, + { + code: ``, + output: ``, + errors: 10 + }, + { + code: ``, + output: ``, + errors: 13 + }, { code: '', errors: [expectedShorthandLastError],