Skip to content

Commit

Permalink
test: add fixture for override modifier for parameter properties
Browse files Browse the repository at this point in the history
  • Loading branch information
sosukesuzuki committed Jun 7, 2021
1 parent 0d68e08 commit 5213f4a
Show file tree
Hide file tree
Showing 4 changed files with 657 additions and 0 deletions.
@@ -0,0 +1,5 @@
class SpecializedComponent extends SomeComponent {
constructor(override param: string) {
super();
}
}
Expand Up @@ -391,6 +391,7 @@ tester.addFixturePatternConfig('typescript/basics', {
* SyntaxError: Unexpected token, expected ","
*/
'class-with-constructor-and-parameter-property-with-modifiers',
'class-with-constructor-and-parameter-proptery-with-override-modifier',
],
ignoreSourceType: [
/**
Expand Down
Expand Up @@ -1748,6 +1748,8 @@ exports[`Parse all fixtures with "errorOnTypeScriptSyntacticAndSemanticIssues" e

exports[`Parse all fixtures with "errorOnTypeScriptSyntacticAndSemanticIssues" enabled fixtures/typescript/basics/class-with-constructor-and-parameter-property-with-modifiers.src 1`] = `"TEST OUTPUT: No semantic or syntactic issues found"`;

exports[`Parse all fixtures with "errorOnTypeScriptSyntacticAndSemanticIssues" enabled fixtures/typescript/basics/class-with-constructor-and-parameter-proptery-with-override-modifier.src 1`] = `"TEST OUTPUT: No semantic or syntactic issues found"`;

exports[`Parse all fixtures with "errorOnTypeScriptSyntacticAndSemanticIssues" enabled fixtures/typescript/basics/class-with-constructor-and-return-type.src 1`] = `"TEST OUTPUT: No semantic or syntactic issues found"`;

exports[`Parse all fixtures with "errorOnTypeScriptSyntacticAndSemanticIssues" enabled fixtures/typescript/basics/class-with-constructor-and-type-parameters.src 1`] = `"TEST OUTPUT: No semantic or syntactic issues found"`;
Expand Down

0 comments on commit 5213f4a

Please sign in to comment.