diff --git a/tests/lib/rules/jsx-no-target-blank.js b/tests/lib/rules/jsx-no-target-blank.js index 2208e371dc..e43003db81 100644 --- a/tests/lib/rules/jsx-no-target-blank.js +++ b/tests/lib/rules/jsx-no-target-blank.js @@ -197,6 +197,11 @@ ruleTester.run('jsx-no-target-blank', rule, { output: '<a target="_blank" rel="no referrer noreferrer" href="https://example.com/7"></a>', errors: defaultErrors, }, + { + code: '<a href="https://example.com/7a-run-on" target="_blank rel=noopener"></a>', + output: '<a target="_blank noopener" href="https://example.com/7a-run-on"></a>', + errors: [{ messageId: 'noTargetBlankIntendedIneffective' }], + }, { code: '<a target="_BLANK" href="https://example.com/8"></a>', output: '<a target="_BLANK" href="https://example.com/8" rel="noreferrer"></a>',