Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato committed May 15, 2024
1 parent 89ce822 commit ac2fe73
Show file tree
Hide file tree
Showing 995 changed files with 5,053 additions and 21,074 deletions.
475 changes: 60 additions & 415 deletions crates/swc_ecma_parser/tests/tsc/1.0lib-noErrors.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
Expand All @@ -119,8 +117,7 @@
},
"kind": "number"
}
},
"typeParams": null
}
},
{
"type": "TsPropertySignature",
Expand All @@ -142,8 +139,6 @@
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
Expand All @@ -160,8 +155,7 @@
},
"kind": "number"
}
},
"typeParams": null
}
}
]
}
Expand Down Expand Up @@ -235,8 +229,6 @@
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
Expand All @@ -253,8 +245,7 @@
},
"kind": "number"
}
},
"typeParams": null
}
},
{
"type": "TsPropertySignature",
Expand All @@ -276,8 +267,6 @@
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
Expand All @@ -294,8 +283,7 @@
},
"kind": "number"
}
},
"typeParams": null
}
}
]
}
Expand Down Expand Up @@ -362,8 +350,6 @@
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
Expand All @@ -380,8 +366,7 @@
},
"kind": "number"
}
},
"typeParams": null
}
},
{
"type": "TsPropertySignature",
Expand All @@ -403,8 +388,6 @@
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
Expand All @@ -421,8 +404,7 @@
},
"kind": "number"
}
},
"typeParams": null
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
Expand All @@ -153,8 +151,7 @@
},
"kind": "number"
}
},
"typeParams": null
}
},
{
"type": "TsPropertySignature",
Expand All @@ -176,8 +173,6 @@
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
Expand All @@ -194,8 +189,7 @@
},
"kind": "number"
}
},
"typeParams": null
}
}
]
}
Expand Down Expand Up @@ -525,8 +519,6 @@
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
Expand All @@ -543,8 +535,7 @@
},
"kind": "number"
}
},
"typeParams": null
}
},
{
"type": "TsPropertySignature",
Expand All @@ -566,8 +557,6 @@
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
Expand All @@ -584,8 +573,7 @@
},
"kind": "number"
}
},
"typeParams": null
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
Expand All @@ -153,8 +151,7 @@
},
"kind": "number"
}
},
"typeParams": null
}
},
{
"type": "TsPropertySignature",
Expand All @@ -176,8 +173,6 @@
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
Expand All @@ -194,8 +189,7 @@
},
"kind": "number"
}
},
"typeParams": null
}
}
]
}
Expand Down Expand Up @@ -449,8 +443,6 @@
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
Expand All @@ -467,8 +459,7 @@
},
"kind": "number"
}
},
"typeParams": null
}
},
{
"type": "TsPropertySignature",
Expand All @@ -490,8 +481,6 @@
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
Expand All @@ -508,8 +497,7 @@
},
"kind": "number"
}
},
"typeParams": null
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
Expand All @@ -119,8 +117,7 @@
},
"kind": "number"
}
},
"typeParams": null
}
},
{
"type": "TsPropertySignature",
Expand All @@ -142,8 +139,6 @@
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
Expand All @@ -160,8 +155,7 @@
},
"kind": "number"
}
},
"typeParams": null
}
}
]
}
Expand Down Expand Up @@ -336,8 +330,6 @@
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
Expand All @@ -354,8 +346,7 @@
},
"kind": "number"
}
},
"typeParams": null
}
},
{
"type": "TsPropertySignature",
Expand All @@ -377,8 +368,6 @@
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
Expand All @@ -395,8 +384,7 @@
},
"kind": "number"
}
},
"typeParams": null
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1112,8 +1112,6 @@
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
Expand All @@ -1130,8 +1128,7 @@
},
"kind": "string"
}
},
"typeParams": null
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1112,8 +1112,6 @@
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
Expand All @@ -1130,8 +1128,7 @@
},
"kind": "string"
}
},
"typeParams": null
}
}
]
}
Expand Down
5 changes: 1 addition & 4 deletions crates/swc_ecma_parser/tests/tsc/ES5SymbolProperty1.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
Expand All @@ -72,8 +70,7 @@
},
"kind": "string"
}
},
"typeParams": null
}
}
]
}
Expand Down
Loading

0 comments on commit ac2fe73

Please sign in to comment.