Skip to content

Commit

Permalink
chore: update es8 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Jan 2, 2024
1 parent 647a487 commit 1d33442
Show file tree
Hide file tree
Showing 218 changed files with 657 additions and 659 deletions.
4 changes: 2 additions & 2 deletions tests/fixtures/ecma-version/8/comma-dangle-arrow.result.js
Expand Up @@ -83,8 +83,8 @@ export default {
23
],
"id": null,
"generator": false,
"expression": false,
"generator": false,
"async": false,
"params": [
{
Expand Down Expand Up @@ -385,4 +385,4 @@ export default {
]
}
]
}
};
Expand Up @@ -83,6 +83,7 @@ export default {
10,
23
],
"static": false,
"computed": false,
"key": {
"type": "Identifier",
Expand All @@ -102,7 +103,6 @@ export default {
],
"name": "foo"
},
"static": false,
"kind": "method",
"value": {
"type": "FunctionExpression",
Expand All @@ -121,8 +121,8 @@ export default {
23
],
"id": null,
"generator": false,
"expression": false,
"generator": false,
"async": false,
"params": [
{
Expand Down Expand Up @@ -458,4 +458,4 @@ export default {
]
}
]
}
};
Expand Up @@ -83,8 +83,8 @@ export default {
28
],
"id": null,
"generator": false,
"expression": false,
"generator": false,
"async": false,
"params": [
{
Expand Down Expand Up @@ -385,4 +385,4 @@ export default {
]
}
]
}
};
2 changes: 1 addition & 1 deletion tests/fixtures/ecma-version/8/comma-dangle-func.result.js
Expand Up @@ -253,4 +253,4 @@ export default {
]
}
]
}
};
4 changes: 2 additions & 2 deletions tests/fixtures/ecma-version/8/comma-dangle-method.result.js
Expand Up @@ -138,8 +138,8 @@ export default {
23
],
"id": null,
"generator": false,
"expression": false,
"generator": false,
"async": false,
"params": [
{
Expand Down Expand Up @@ -479,4 +479,4 @@ export default {
]
}
]
}
};
4 changes: 2 additions & 2 deletions tests/fixtures/ecma-version/8/comma-dangle.result.js
Expand Up @@ -49,8 +49,8 @@ export default {
],
"name": "foo"
},
"generator": false,
"expression": false,
"generator": false,
"async": false,
"params": [
{
Expand Down Expand Up @@ -328,4 +328,4 @@ export default {
]
}
]
}
};
4 changes: 2 additions & 2 deletions tests/fixtures/ecma-version/8/destructuring-param.result.js
Expand Up @@ -49,8 +49,8 @@ export default {
],
"name": "a"
},
"generator": false,
"expression": false,
"generator": false,
"async": false,
"params": [
{
Expand Down Expand Up @@ -509,4 +509,4 @@ export default {
]
}
]
}
};
@@ -1,6 +1,6 @@
export default {
"message": "Unexpected token {",
"column": 14,
"index": 13,
"lineNumber": 1
}
"lineNumber": 1,
"column": 14,
"message": "Unexpected token {"
};
Expand Up @@ -48,8 +48,8 @@ export default {
8
],
"id": null,
"generator": false,
"expression": true,
"generator": false,
"async": false,
"params": [
{
Expand Down Expand Up @@ -203,4 +203,4 @@ export default {
]
}
]
}
};
4 changes: 2 additions & 2 deletions tests/fixtures/ecma-version/8/modules/arrow-func.result.js
Expand Up @@ -48,8 +48,8 @@ export default {
6
],
"id": null,
"generator": false,
"expression": true,
"generator": false,
"async": false,
"params": [
{
Expand Down Expand Up @@ -167,4 +167,4 @@ export default {
]
}
]
}
};
Expand Up @@ -84,8 +84,8 @@ export default {
],
"name": "foo"
},
"generator": false,
"expression": false,
"generator": false,
"async": false,
"params": [],
"body": {
Expand Down Expand Up @@ -272,4 +272,4 @@ export default {
]
}
]
}
};
Expand Up @@ -48,8 +48,8 @@ export default {
23
],
"id": null,
"generator": false,
"expression": true,
"generator": false,
"async": true,
"params": [
{
Expand Down Expand Up @@ -422,4 +422,4 @@ export default {
]
}
]
}
};
Expand Up @@ -48,8 +48,8 @@ export default {
20
],
"id": null,
"generator": false,
"expression": true,
"generator": false,
"async": true,
"params": [
{
Expand Down Expand Up @@ -386,4 +386,4 @@ export default {
]
}
]
}
};
Expand Up @@ -48,8 +48,8 @@ export default {
17
],
"id": null,
"generator": false,
"expression": true,
"generator": false,
"async": true,
"params": [
{
Expand Down Expand Up @@ -275,4 +275,4 @@ export default {
]
}
]
}
};
Expand Up @@ -65,8 +65,8 @@ export default {
],
"name": "foo"
},
"generator": false,
"expression": false,
"generator": false,
"async": true,
"params": [
{
Expand Down Expand Up @@ -399,4 +399,4 @@ export default {
]
}
]
}
};
Expand Up @@ -48,8 +48,8 @@ export default {
12
],
"id": null,
"generator": false,
"expression": true,
"generator": false,
"async": true,
"params": [
{
Expand Down Expand Up @@ -185,4 +185,4 @@ export default {
]
}
]
}
};
Expand Up @@ -48,8 +48,8 @@ export default {
21
],
"id": null,
"generator": false,
"expression": true,
"generator": false,
"async": true,
"params": [
{
Expand Down Expand Up @@ -292,4 +292,4 @@ export default {
]
}
]
}
};
Expand Up @@ -49,8 +49,8 @@ export default {
],
"name": "foo"
},
"generator": false,
"expression": false,
"generator": false,
"async": true,
"params": [
{
Expand Down Expand Up @@ -104,8 +104,8 @@ export default {
42
],
"id": null,
"generator": false,
"expression": true,
"generator": false,
"async": true,
"params": [],
"body": {
Expand Down Expand Up @@ -474,4 +474,4 @@ export default {
]
}
]
}
};
Expand Up @@ -49,8 +49,8 @@ export default {
],
"name": "foo"
},
"generator": false,
"expression": false,
"generator": false,
"async": true,
"params": [
{
Expand Down Expand Up @@ -138,6 +138,7 @@ export default {
30,
53
],
"static": false,
"computed": false,
"key": {
"type": "Identifier",
Expand All @@ -157,7 +158,6 @@ export default {
],
"name": "bar"
},
"static": false,
"kind": "method",
"value": {
"type": "FunctionExpression",
Expand All @@ -176,8 +176,8 @@ export default {
53
],
"id": null,
"generator": false,
"expression": false,
"generator": false,
"async": true,
"params": [],
"body": {
Expand Down Expand Up @@ -676,4 +676,4 @@ export default {
]
}
]
}
};
Expand Up @@ -49,8 +49,8 @@ export default {
],
"name": "wrap"
},
"generator": false,
"expression": false,
"generator": false,
"async": true,
"params": [],
"body": {
Expand Down Expand Up @@ -599,4 +599,4 @@ export default {
]
}
]
}
};

0 comments on commit 1d33442

Please sign in to comment.