File tree Expand file tree Collapse file tree
tests/format/js/async-do-expressions Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- // Jest Snapshot v1, https://goo.gl/fbAQLP
1+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22
33exports [` async-do-expressions.js [acorn] format 1` ] = `
44"Unexpected token (1:7)
@@ -61,12 +61,6 @@ async do {
6161 await 42
6262}
6363
64- function iter() {
65- return async do {
66- return 1;
67- }
68- } ;
69-
7064let x = async do {
7165 let tmp = f ();
7266 tmp * tmp + 1
@@ -93,12 +87,6 @@ let x = async do {
9387 await 42 ;
9488} );
9589
96- function iter() {
97- return async do {
98- return 1;
99- };
100- }
101-
10290let x = async do {
10391 let tmp = f ();
10492 tmp * tmp + 1 ;
Original file line number Diff line number Diff line change @@ -14,12 +14,6 @@ async do {
1414 await 42
1515}
1616
17- function iter ( ) {
18- return async do {
19- return 1 ;
20- }
21- } ;
22-
2317let x = async do {
2418 let tmp = f ( ) ;
2519 tmp * tmp + 1
You can’t perform that action at this time.
0 commit comments