Skip to content

Commit

Permalink
Add failing test case
Browse files Browse the repository at this point in the history
  • Loading branch information
golopot committed Mar 7, 2020
1 parent e2ed536 commit 6bec58e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/lib/rules/display-name.js
Expand Up @@ -463,6 +463,14 @@ ruleTester.run('display-name', rule, {
return <div>Hello {world}</div>
})
`
}, {
code: `
import React from 'react';
const Hello = React.memo(function Hello() {
return;
});
`
}, {
code: `
import React from 'react'
Expand Down

0 comments on commit 6bec58e

Please sign in to comment.