Skip to content

Commit fa91542

Browse files
committed
Add test for parameters without ()
1 parent 5c957fe commit fa91542

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/transform.test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,11 @@ const testCases: TestCase[] = [
505505
expectedEstreeType: 'ArrowFunctionExpression',
506506
text: ' ( ( () => ( ( 1 ) ) ) ) ',
507507
},
508+
{
509+
expectedAngularType: 'ArrowFunction',
510+
expectedEstreeType: 'ArrowFunctionExpression',
511+
text: ' ( ( a => ( ( 1 ) ) ) ) ',
512+
},
508513
{
509514
expectedAngularType: 'ArrowFunction',
510515
expectedEstreeType: 'ArrowFunctionExpression',

0 commit comments

Comments
 (0)