Skip to content

Commit

Permalink
Add regression test for #3055 (#3791)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored and Timer committed Jan 15, 2018
1 parent 5d1710a commit 0ff2349
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ async function load() {
];
}

/* eslint-disable */
// Regression test for https://github.com/facebookincubator/create-react-app/issues/3055
const x = async (
/* prettier-ignore */
y: void
) => {
const z = await y;
};
/* eslint-enable */

export default class extends Component {
static propTypes = {
onReady: PropTypes.func.isRequired,
Expand Down

0 comments on commit 0ff2349

Please sign in to comment.