-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: migrated shared-fixtures to ast-spec * Removed shared-fixtures package * Updated snapshots * Corrected last snapshot * Updated typescript-estree test snapshots * Moved to legacy-fixtures dir, with a bit of docs * Revert "Moved to legacy-fixtures dir, with a bit of docs" This reverts commit 1323b6c. * rename unsorted-fixtures to legacy-fixtures
- Loading branch information
1 parent
d5a6688
commit fb799e7
Showing
3,324 changed files
with
284,141 additions
and
6,375 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ node_modules | |
dist | ||
jest.config.js | ||
fixtures | ||
shared-fixtures | ||
coverage | ||
__snapshots__ | ||
.docusaurus | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
**/tests/fixture-project/**/* | ||
**/dist | ||
**/coverage | ||
**/shared-fixtures | ||
**/.vscode | ||
**/.nyc_output | ||
**/.vs | ||
|
8 changes: 8 additions & 0 deletions
8
...xtures/accessor-decorators/fixtures/accessor-decorator-factory-instance-member/fixture.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// TODO: This fixture might be too large, and if so should be split up. | ||
|
||
class Point { | ||
@configurable(false) | ||
get x() { | ||
return this._x; | ||
} | ||
} |
178 changes: 178 additions & 0 deletions
178
...orators/fixtures/accessor-decorator-factory-instance-member/snapshots/1-TSESTree-AST.shot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,178 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`AST Fixtures legacy-fixtures accessor-decorators accessor-decorator-factory-instance-member TSESTree - AST 1`] = ` | ||
Program { | ||
type: "Program", | ||
body: Array [ | ||
ClassDeclaration { | ||
type: "ClassDeclaration", | ||
body: ClassBody { | ||
type: "ClassBody", | ||
body: Array [ | ||
MethodDefinition { | ||
type: "MethodDefinition", | ||
computed: false, | ||
decorators: Array [ | ||
Decorator { | ||
type: "Decorator", | ||
expression: CallExpression { | ||
type: "CallExpression", | ||
arguments: Array [ | ||
Literal { | ||
type: "Literal", | ||
raw: "false", | ||
value: false, | ||
range: [103, 108], | ||
loc: { | ||
start: { column: 16, line: 4 }, | ||
end: { column: 21, line: 4 }, | ||
}, | ||
}, | ||
], | ||
callee: Identifier { | ||
type: "Identifier", | ||
name: "configurable", | ||
range: [90, 102], | ||
loc: { | ||
start: { column: 3, line: 4 }, | ||
end: { column: 15, line: 4 }, | ||
}, | ||
}, | ||
optional: false, | ||
range: [90, 109], | ||
loc: { | ||
start: { column: 3, line: 4 }, | ||
end: { column: 22, line: 4 }, | ||
}, | ||
}, | ||
range: [89, 109], | ||
loc: { | ||
start: { column: 2, line: 4 }, | ||
end: { column: 22, line: 4 }, | ||
}, | ||
}, | ||
], | ||
key: Identifier { | ||
type: "Identifier", | ||
name: "x", | ||
range: [116, 117], | ||
loc: { | ||
start: { column: 6, line: 5 }, | ||
end: { column: 7, line: 5 }, | ||
}, | ||
}, | ||
kind: "get", | ||
override: false, | ||
static: false, | ||
value: FunctionExpression { | ||
type: "FunctionExpression", | ||
async: false, | ||
body: BlockStatement { | ||
type: "BlockStatement", | ||
body: Array [ | ||
ReturnStatement { | ||
type: "ReturnStatement", | ||
argument: MemberExpression { | ||
type: "MemberExpression", | ||
computed: false, | ||
object: ThisExpression { | ||
type: "ThisExpression", | ||
range: [133, 137], | ||
loc: { | ||
start: { column: 11, line: 6 }, | ||
end: { column: 15, line: 6 }, | ||
}, | ||
}, | ||
optional: false, | ||
property: Identifier { | ||
type: "Identifier", | ||
name: "_x", | ||
range: [138, 140], | ||
loc: { | ||
start: { column: 16, line: 6 }, | ||
end: { column: 18, line: 6 }, | ||
}, | ||
}, | ||
range: [133, 140], | ||
loc: { | ||
start: { column: 11, line: 6 }, | ||
end: { column: 18, line: 6 }, | ||
}, | ||
}, | ||
range: [126, 141], | ||
loc: { | ||
start: { column: 4, line: 6 }, | ||
end: { column: 19, line: 6 }, | ||
}, | ||
}, | ||
], | ||
range: [120, 145], | ||
loc: { | ||
start: { column: 10, line: 5 }, | ||
end: { column: 3, line: 7 }, | ||
}, | ||
}, | ||
expression: false, | ||
generator: false, | ||
id: null, | ||
params: Array [], | ||
range: [117, 145], | ||
loc: { | ||
start: { column: 7, line: 5 }, | ||
end: { column: 3, line: 7 }, | ||
}, | ||
}, | ||
range: [89, 145], | ||
loc: { | ||
start: { column: 2, line: 4 }, | ||
end: { column: 3, line: 7 }, | ||
}, | ||
}, | ||
], | ||
range: [85, 147], | ||
loc: { | ||
start: { column: 12, line: 3 }, | ||
end: { column: 1, line: 8 }, | ||
}, | ||
}, | ||
id: Identifier { | ||
type: "Identifier", | ||
name: "Point", | ||
range: [79, 84], | ||
loc: { | ||
start: { column: 6, line: 3 }, | ||
end: { column: 11, line: 3 }, | ||
}, | ||
}, | ||
superClass: null, | ||
range: [73, 147], | ||
loc: { | ||
start: { column: 0, line: 3 }, | ||
end: { column: 1, line: 8 }, | ||
}, | ||
}, | ||
], | ||
sourceType: "script", | ||
range: [73, 148], | ||
loc: { | ||
start: { column: 0, line: 3 }, | ||
end: { column: 0, line: 9 }, | ||
}, | ||
} | ||
`; |
Oops, something went wrong.