Test runner: Detect extra property in 'actual' but not in 'expected'. (#407)
* Test runner: Detect extra property in 'actual' but not in 'expected'. Also update all expected.json where this would result in errors. * Include rmExpected.js script in case it is needed again
This commit is contained in:
6
test/fixtures/comments/basic/export-default-anonymous-class/expected.json
vendored
Executable file → Normal file
6
test/fixtures/comments/basic/export-default-anonymous-class/expected.json
vendored
Executable file → Normal file
@@ -87,6 +87,7 @@
|
||||
"column": 5
|
||||
}
|
||||
},
|
||||
"static": false,
|
||||
"computed": false,
|
||||
"key": {
|
||||
"type": "Identifier",
|
||||
@@ -100,16 +101,17 @@
|
||||
"end": {
|
||||
"line": 8,
|
||||
"column": 11
|
||||
}
|
||||
},
|
||||
"identifierName": "method1"
|
||||
},
|
||||
"name": "method1",
|
||||
"leadingComments": null
|
||||
},
|
||||
"static": false,
|
||||
"kind": "method",
|
||||
"id": null,
|
||||
"generator": false,
|
||||
"expression": false,
|
||||
"async": false,
|
||||
"params": [],
|
||||
"body": {
|
||||
"type": "BlockStatement",
|
||||
|
||||
Reference in New Issue
Block a user