Skip to content

Commit 1c62ba7

Browse files
gaearonTimer
authored andcommitted
Add regression test for facebook#3055 (facebook#3791)
1 parent be85ec1 commit 1c62ba7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

fixtures/kitchensink/src/features/syntax/AsyncAwait.js

+10
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ async function load() {
1717
];
1818
}
1919

20+
/* eslint-disable */
21+
// Regression test for https://github.com/facebookincubator/create-react-app/issues/3055
22+
const x = async (
23+
/* prettier-ignore */
24+
y: void
25+
) => {
26+
const z = await y;
27+
};
28+
/* eslint-enable */
29+
2030
export default class extends Component {
2131
static propTypes = {
2232
onReady: PropTypes.func.isRequired,

0 commit comments

Comments
 (0)