Skip to content

Commit

Permalink
Add tests for babel/babel#13645
Browse files Browse the repository at this point in the history
  • Loading branch information
sosukesuzuki committed Aug 18, 2021
1 parent c26f73d commit 52ee73b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/format/flow/generic/arrows.js
@@ -0,0 +1 @@
<T>(a => b);
Expand Up @@ -17,3 +17,17 @@ exports[`async-arrow-invalid.js [babel-flow] format 1`] = `
| ^
4 |"
`;
exports[`wrong-arrow-no-parens-jsx.js [babel] format 1`] = `
"Unterminated JSX contents. (1:4)
> 1 | <T>(a => b);
| ^
2 |"
`;
exports[`wrong-arrow-no-parens-jsx.js [babel-flow] format 1`] = `
"Unterminated JSX contents. (1:4)
> 1 | <T>(a => b);
| ^
2 |"
`;
@@ -0,0 +1 @@
<T>(a => b);

0 comments on commit 52ee73b

Please sign in to comment.