add esprima tests and fix bugs picked up by it
This commit is contained in:
32
test/fixtures/esprima/expression-primary/object/expected.json
vendored
Normal file
32
test/fixtures/esprima/expression-primary/object/expected.json
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"type": "File",
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 0
|
||||
}
|
||||
},
|
||||
"program": {
|
||||
"type": "Program",
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 0
|
||||
}
|
||||
},
|
||||
"sourceType": "script",
|
||||
"body": []
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user