* 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
151 lines
3.2 KiB
JSON
151 lines
3.2 KiB
JSON
{
|
|
"type": "File",
|
|
"start": 0,
|
|
"end": 27,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 27
|
|
}
|
|
},
|
|
"program": {
|
|
"type": "Program",
|
|
"start": 0,
|
|
"end": 27,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 27
|
|
}
|
|
},
|
|
"sourceType": "module",
|
|
"body": [
|
|
{
|
|
"type": "ExportNamedDeclaration",
|
|
"start": 0,
|
|
"end": 27,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 27
|
|
}
|
|
},
|
|
"declaration": null,
|
|
"specifiers": [
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"start": 9,
|
|
"end": 16,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 16
|
|
}
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"start": 9,
|
|
"end": 16,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 16
|
|
},
|
|
"identifierName": "encrypt"
|
|
},
|
|
"name": "encrypt"
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"start": 9,
|
|
"end": 16,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 16
|
|
},
|
|
"identifierName": "encrypt"
|
|
},
|
|
"name": "encrypt"
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"start": 18,
|
|
"end": 25,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 25
|
|
}
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"start": 18,
|
|
"end": 25,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 25
|
|
},
|
|
"identifierName": "decrypt"
|
|
},
|
|
"name": "decrypt"
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"start": 18,
|
|
"end": 25,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 25
|
|
},
|
|
"identifierName": "decrypt"
|
|
},
|
|
"name": "decrypt"
|
|
}
|
|
}
|
|
],
|
|
"source": null
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |