Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(ast-spec): add fixtures for all declaration nodes (#4967)
- Loading branch information
1 parent
7e7b24c
commit 450dd47
Showing
724 changed files
with
21,796 additions
and
155 deletions.
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 |
---|---|---|
@@ -0,0 +1,70 @@ | ||
import type { Identifier } from '../expression/Identifier/spec'; | ||
import type { ClassBody } from '../special/ClassBody/spec'; | ||
import type { Decorator } from '../special/Decorator/spec'; | ||
import type { TSClassImplements } from '../special/TSClassImplements/spec'; | ||
import type { TSTypeParameterDeclaration } from '../special/TSTypeParameterDeclaration/spec'; | ||
import type { TSTypeParameterInstantiation } from '../special/TSTypeParameterInstantiation/spec'; | ||
import type { LeftHandSideExpression } from '../unions/LeftHandSideExpression'; | ||
import type { BaseNode } from './BaseNode'; | ||
|
||
export interface ClassBase extends BaseNode { | ||
/** | ||
* Whether the class is an abstract class. | ||
* ``` | ||
* abstract class Foo {...} | ||
* ``` | ||
* This is always `undefined` for `ClassExpression`. | ||
*/ | ||
// TODO(#5020) - make this `false` if it is not `abstract` | ||
abstract?: boolean; | ||
/** | ||
* The class body. | ||
*/ | ||
body: ClassBody; | ||
/** | ||
* Whether the class has been `declare`d: | ||
* ``` | ||
* declare class Foo {...} | ||
* ``` | ||
* This is always `undefined` for `ClassExpression`. | ||
*/ | ||
// TODO(#5020) - make this `false` if it is not `declare`d | ||
declare?: boolean; | ||
/** | ||
* The decorators declared for the class. | ||
* This is `undefined` if there are no decorators. | ||
* ``` | ||
* @deco | ||
* class Foo {...} | ||
* ``` | ||
* This is always `undefined` for `ClassExpression`. | ||
*/ | ||
// TODO(#5020) - make this an empty array if there are none declared | ||
decorators?: Decorator[]; | ||
/** | ||
* The class's name. | ||
* - For a `ClassExpression` this may be `null` if the name is omitted. | ||
* - For a `ClassDeclaration` this may be `null` if and only if the parent is | ||
* an `ExportDefaultDeclaration`. | ||
*/ | ||
id: Identifier | null; | ||
/** | ||
* The implemented interfaces for the class. | ||
* This is `undefined` if there are no implemented interfaces. | ||
*/ | ||
implements?: TSClassImplements[]; | ||
/** | ||
* The super class this class extends. | ||
*/ | ||
superClass: LeftHandSideExpression | null; | ||
/** | ||
* The generic type parameters passed to the superClass. | ||
* This is `undefined` if there are no generic type parameters passed. | ||
*/ | ||
superTypeParameters?: TSTypeParameterInstantiation; | ||
/** | ||
* The generic type parameters declared for the class. | ||
* This is `undefined` if there are no generic type parameters declared. | ||
*/ | ||
typeParameters?: TSTypeParameterDeclaration; | ||
} |
This file was deleted.
Oops, something went wrong.
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,74 @@ | ||
import type { Identifier } from '../expression/Identifier/spec'; | ||
import type { TSTypeAnnotation } from '../special/TSTypeAnnotation/spec'; | ||
import type { TSTypeParameterDeclaration } from '../special/TSTypeParameterDeclaration/spec'; | ||
import type { BlockStatement } from '../statement/BlockStatement/spec'; | ||
import type { Expression } from '../unions/Expression'; | ||
import type { Parameter } from '../unions/Parameter'; | ||
import type { BaseNode } from './BaseNode'; | ||
|
||
export interface FunctionBase extends BaseNode { | ||
/** | ||
* Whether the function is async: | ||
* ``` | ||
* async function foo(...) {...} | ||
* const x = async function (...) {...} | ||
* const x = async (...) => {...} | ||
* ``` | ||
*/ | ||
async: boolean; | ||
/** | ||
* The body of the function. | ||
* - For an `ArrowFunctionExpression` this may be an `Expression` or `BlockStatement`. | ||
* - For a `FunctionDeclaration` or `FunctionExpression` this is always a `BlockStatement. | ||
* - For a `TSDeclareFunction` this is always `undefined`. | ||
* - For a `TSEmptyBodyFunctionExpression` this is always `null`. | ||
*/ | ||
body?: BlockStatement | Expression | null; | ||
/** | ||
* This is only `true` if and only if the node is a `TSDeclareFunction` and it has `declare`: | ||
* ``` | ||
* declare function foo(...) {...} | ||
* ``` | ||
*/ | ||
// TODO(#5020) - make this always `false` if it is not `declare`d instead of `undefined` | ||
declare?: boolean; | ||
/** | ||
* This is only ever `true` if and only the node is an `ArrowFunctionExpression` and the body | ||
* is an expression: | ||
* ``` | ||
* (() => 1) | ||
* ``` | ||
*/ | ||
expression: boolean; | ||
/** | ||
* Whether the function is a generator function: | ||
* ``` | ||
* function *foo(...) {...} | ||
* const x = function *(...) {...} | ||
* ``` | ||
* This is always `false` for arrow functions as they cannot be generators. | ||
*/ | ||
generator: boolean; | ||
/** | ||
* The function's name. | ||
* - For an `ArrowFunctionExpression` this is always `null`. | ||
* - For a `FunctionExpression` this may be `null` if the name is omitted. | ||
* - For a `FunctionDeclaration` or `TSDeclareFunction` this may be `null` if | ||
* and only if the parent is an `ExportDefaultDeclaration`. | ||
*/ | ||
id: Identifier | null; | ||
/** | ||
* The list of parameters declared for the function. | ||
*/ | ||
params: Parameter[]; | ||
/** | ||
* The return type annotation for the function. | ||
* This is `undefined` if there is no return type declared. | ||
*/ | ||
returnType?: TSTypeAnnotation; | ||
/** | ||
* The generic type parameter declaration for the function. | ||
* This is `undefined` if there are no generic type parameters declared. | ||
*/ | ||
typeParameters?: TSTypeParameterDeclaration; | ||
} |
This file was deleted.
Oops, something went wrong.
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
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
...eclaration/ClassDeclaration/fixtures/_error_/missing-body/snapshots/1-TSESTree-Error.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,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`AST Fixtures declaration ClassDeclaration _error_ missing-body TSESTree - Error 1`] = `[TSError: '{' expected.]`; |
3 changes: 3 additions & 0 deletions
3
...c/declaration/ClassDeclaration/fixtures/_error_/missing-body/snapshots/2-Babel-Error.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,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`AST Fixtures declaration ClassDeclaration _error_ missing-body Babel - Error 1`] = `[SyntaxError: Unexpected token, expected "{" (1:9)]`; |
3 changes: 3 additions & 0 deletions
3
...claration/ClassDeclaration/fixtures/_error_/missing-body/snapshots/3-Alignment-Error.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,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`AST Fixtures declaration ClassDeclaration _error_ missing-body Error Alignment 1`] = `"Both errored"`; |
1 change: 1 addition & 0 deletions
1
...c/src/declaration/ClassDeclaration/fixtures/_error_/missing-extends-type-param/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 @@ | ||
class C extends D<> {} |
3 changes: 3 additions & 0 deletions
3
...ssDeclaration/fixtures/_error_/missing-extends-type-param/snapshots/1-TSESTree-Error.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,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`AST Fixtures declaration ClassDeclaration _error_ missing-extends-type-param TSESTree - Error 1`] = `"NO ERROR"`; |
3 changes: 3 additions & 0 deletions
3
...ClassDeclaration/fixtures/_error_/missing-extends-type-param/snapshots/2-Babel-Error.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,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`AST Fixtures declaration ClassDeclaration _error_ missing-extends-type-param Babel - Error 1`] = `[SyntaxError: Type argument list cannot be empty. (1:17)]`; |
3 changes: 3 additions & 0 deletions
3
...sDeclaration/fixtures/_error_/missing-extends-type-param/snapshots/3-Alignment-Error.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,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`AST Fixtures declaration ClassDeclaration _error_ missing-extends-type-param Error Alignment 1`] = `"Babel errored but TSESTree didn't"`; |
1 change: 1 addition & 0 deletions
1
.../ast-spec/src/declaration/ClassDeclaration/fixtures/_error_/missing-type-param/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 @@ | ||
class C<> {} |
3 changes: 3 additions & 0 deletions
3
...tion/ClassDeclaration/fixtures/_error_/missing-type-param/snapshots/1-TSESTree-Error.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,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`AST Fixtures declaration ClassDeclaration _error_ missing-type-param TSESTree - Error 1`] = `"NO ERROR"`; |
3 changes: 3 additions & 0 deletions
3
...aration/ClassDeclaration/fixtures/_error_/missing-type-param/snapshots/2-Babel-Error.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,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`AST Fixtures declaration ClassDeclaration _error_ missing-type-param Babel - Error 1`] = `[SyntaxError: Type parameter list cannot be empty. (1:7)]`; |
3 changes: 3 additions & 0 deletions
3
...ion/ClassDeclaration/fixtures/_error_/missing-type-param/snapshots/3-Alignment-Error.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,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`AST Fixtures declaration ClassDeclaration _error_ missing-type-param Error Alignment 1`] = `"Babel errored but TSESTree didn't"`; |
3 changes: 0 additions & 3 deletions
3
...src/declaration/ClassDeclaration/fixtures/_error_/no-body/snapshots/1-TSESTree-Error.shot
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...ec/src/declaration/ClassDeclaration/fixtures/_error_/no-body/snapshots/2-Babel-Error.shot
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...rc/declaration/ClassDeclaration/fixtures/_error_/no-body/snapshots/3-Alignment-Error.shot
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
...ec/src/declaration/ClassDeclaration/fixtures/_error_/non-identifier-type-param/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 @@ | ||
class C<1> {} |
3 changes: 3 additions & 0 deletions
3
...assDeclaration/fixtures/_error_/non-identifier-type-param/snapshots/1-TSESTree-Error.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,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`AST Fixtures declaration ClassDeclaration _error_ non-identifier-type-param TSESTree - Error 1`] = `[TSError: Type parameter declaration expected.]`; |
3 changes: 3 additions & 0 deletions
3
.../ClassDeclaration/fixtures/_error_/non-identifier-type-param/snapshots/2-Babel-Error.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,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`AST Fixtures declaration ClassDeclaration _error_ non-identifier-type-param Babel - Error 1`] = `[SyntaxError: Unexpected token (1:8)]`; |
3 changes: 3 additions & 0 deletions
3
...ssDeclaration/fixtures/_error_/non-identifier-type-param/snapshots/3-Alignment-Error.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,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`AST Fixtures declaration ClassDeclaration _error_ non-identifier-type-param Error Alignment 1`] = `"Both errored"`; |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...coratorMany/snapshots/1-TSESTree-AST.shot → ...orator-many/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
2 changes: 1 addition & 1 deletion
2
...atorMany/snapshots/2-TSESTree-Tokens.shot → ...tor-many/snapshots/2-TSESTree-Tokens.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
2 changes: 1 addition & 1 deletion
2
.../decoratorMany/snapshots/3-Babel-AST.shot → ...decorator-many/snapshots/3-Babel-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
2 changes: 1 addition & 1 deletion
2
...coratorMany/snapshots/4-Babel-Tokens.shot → ...orator-many/snapshots/4-Babel-Tokens.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
6 changes: 6 additions & 0 deletions
6
...c/declaration/ClassDeclaration/fixtures/decorator-many/snapshots/5-AST-Alignment-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,6 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`AST Fixtures declaration ClassDeclaration decorator-many AST Alignment - AST 1`] = ` | ||
"Snapshot Diff: | ||
Compared values have no visual difference." | ||
`; |
6 changes: 6 additions & 0 deletions
6
...eclaration/ClassDeclaration/fixtures/decorator-many/snapshots/6-AST-Alignment-Tokens.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,6 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`AST Fixtures declaration ClassDeclaration decorator-many AST Alignment - Token 1`] = ` | ||
"Snapshot Diff: | ||
Compared values have no visual difference." | ||
`; |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ecoratorOne/snapshots/1-TSESTree-AST.shot → ...corator-one/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
2 changes: 1 addition & 1 deletion
2
...ratorOne/snapshots/2-TSESTree-Tokens.shot → ...ator-one/snapshots/2-TSESTree-Tokens.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
2 changes: 1 addition & 1 deletion
2
...s/decoratorOne/snapshots/3-Babel-AST.shot → .../decorator-one/snapshots/3-Babel-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
2 changes: 1 addition & 1 deletion
2
...ecoratorOne/snapshots/4-Babel-Tokens.shot → ...corator-one/snapshots/4-Babel-Tokens.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
2 changes: 1 addition & 1 deletion
2
...orMany/snapshots/5-AST-Alignment-AST.shot → ...or-one/snapshots/5-AST-Alignment-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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`AST Fixtures declaration ClassDeclaration decoratorMany AST Alignment - AST 1`] = ` | ||
exports[`AST Fixtures declaration ClassDeclaration decorator-one AST Alignment - AST 1`] = ` | ||
"Snapshot Diff: | ||
Compared values have no visual difference." | ||
`; |
2 changes: 1 addition & 1 deletion
2
...any/snapshots/6-AST-Alignment-Tokens.shot → ...one/snapshots/6-AST-Alignment-Tokens.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`AST Fixtures declaration ClassDeclaration decoratorMany AST Alignment - Token 1`] = ` | ||
exports[`AST Fixtures declaration ClassDeclaration decorator-one AST Alignment - Token 1`] = ` | ||
"Snapshot Diff: | ||
Compared values have no visual difference." | ||
`; |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...-parameters/snapshots/1-TSESTree-AST.shot → ...-type-param/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
2 changes: 1 addition & 1 deletion
2
...rameters/snapshots/2-TSESTree-Tokens.shot → ...pe-param/snapshots/2-TSESTree-Tokens.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
2 changes: 1 addition & 1 deletion
2
...ype-parameters/snapshots/3-Babel-AST.shot → ...nds-type-param/snapshots/3-Babel-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
2 changes: 1 addition & 1 deletion
2
...-parameters/snapshots/4-Babel-Tokens.shot → ...-type-param/snapshots/4-Babel-Tokens.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
2 changes: 1 addition & 1 deletion
2
...meters/snapshots/5-AST-Alignment-AST.shot → ...-param/snapshots/5-AST-Alignment-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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`AST Fixtures declaration ClassDeclaration extends-type-parameters AST Alignment - AST 1`] = ` | ||
exports[`AST Fixtures declaration ClassDeclaration extends-type-param AST Alignment - AST 1`] = ` | ||
"Snapshot Diff: | ||
Compared values have no visual difference." | ||
`; |
Oops, something went wrong.