Skip to content

Commit

Permalink
test: update parser snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
bradzacher committed Dec 19, 2019
1 parent f29c046 commit b026aad
Showing 1 changed file with 120 additions and 0 deletions.
120 changes: 120 additions & 0 deletions packages/parser/tests/lib/__snapshots__/typescript.ts.snap
Expand Up @@ -15814,6 +15814,126 @@ Object {
}
`;

exports[`typescript fixtures/basics/export-named-enum-computed.src 1`] = `
Object {
"$id": 3,
"block": Object {
"range": Array [
0,
42,
],
"type": "Program",
},
"childScopes": Array [
Object {
"$id": 2,
"block": Object {
"range": Array [
0,
42,
],
"type": "Program",
},
"childScopes": Array [
Object {
"$id": 1,
"block": Object {
"range": Array [
7,
41,
],
"type": "TSEnumDeclaration",
},
"childScopes": Array [],
"functionExpressionScope": false,
"isStrict": true,
"references": Array [],
"throughReferences": Array [],
"type": "enum",
"upperScope": Object {
"$ref": 2,
},
"variableMap": Object {},
"variableScope": Object {
"$ref": 2,
},
"variables": Array [],
},
],
"functionExpressionScope": false,
"isStrict": true,
"references": Array [],
"throughReferences": Array [],
"type": "module",
"upperScope": Object {
"$ref": 3,
},
"variableMap": Object {
"Foo": Object {
"$ref": 0,
},
},
"variableScope": Object {
"$ref": 2,
},
"variables": Array [
Object {
"$id": 0,
"defs": Array [
Object {
"name": Object {
"name": "Foo",
"range": Array [
12,
15,
],
"type": "Identifier",
},
"node": Object {
"range": Array [
7,
41,
],
"type": "TSEnumDeclaration",
},
"parent": undefined,
"type": "EnumName",
},
],
"eslintUsed": undefined,
"identifiers": Array [
Object {
"name": "Foo",
"range": Array [
12,
15,
],
"type": "Identifier",
},
],
"name": "Foo",
"references": Array [],
"scope": Object {
"$ref": 2,
},
},
],
},
],
"functionExpressionScope": false,
"isStrict": false,
"references": Array [],
"throughReferences": Array [],
"type": "global",
"upperScope": null,
"variableMap": Object {},
"variableScope": Object {
"$ref": 3,
},
"variables": Array [],
}
`;

exports[`typescript fixtures/basics/export-type-alias-declaration.src 1`] = `
Object {
"$id": 1,
Expand Down

0 comments on commit b026aad

Please sign in to comment.