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 committed Jan 14, 2018
1 parent a0a8451 commit 291bbcf
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 291bbcf

Please sign in to comment.