Skip to content

Commit

Permalink
Regression test for jsx-eslint#2125
Browse files Browse the repository at this point in the history
  • Loading branch information
CrOrc committed Jan 8, 2019
1 parent e25a88c commit c0c337a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/lib/rules/prop-types.js
Expand Up @@ -2296,6 +2296,13 @@ ruleTester.run('prop-types', rule, {
export const Unconnected = Foo;
export default connect(Foo);
`
}, {
code: `
const a={};
function fn1(){}
const b=a::fn1();
`,
parser: 'babel-eslint'
}
],

Expand Down

0 comments on commit c0c337a

Please sign in to comment.