Skip to content

Commit efeeb6d

Browse files
author
Ethan Cohen
committed
[fix] - Add test for integrating JSXElement fix in jsx-ast-utils
Fixes #63
1 parent 7a1e9c5 commit efeeb6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/src/rules/aria-proptypes.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ ruleTester.run('aria-proptypes', rule, {
6262
{ code: '<div aria-hidden={!"yes"} />', parserOptions },
6363
{ code: '<div aria-hidden={foo} />', parserOptions },
6464
{ code: '<div aria-hidden={foo.bar} />', parserOptions },
65+
{ code: '<div aria-hidden={<div />} />', parserOptions },
6566

6667
// STRING
6768
{ code: '<div aria-label="Close" />', parserOptions },

0 commit comments

Comments
 (0)