Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
simonseyock committed May 18, 2022
1 parent b538628 commit ed172bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/ParameterListParslet.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ describe('ParameterListParslet', () => {
createFunctionParslet({
allowWithoutParenthesis: false,
allowNamedParameters: undefined,
allowNoReturnType: true
allowNoReturnType: true,
allowNewAsFunctionKeyword: true
}),
createParameterListParslet({
allowTrailingComma: false
Expand Down
2 changes: 2 additions & 0 deletions test/fixtures/typescript/objects.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ describe('typescript objects tests', () => {
},
optional: false,
readonly: false,
variadic: false,
meta: {
quote: undefined,
hasLeftSideExpression: false
Expand All @@ -314,6 +315,7 @@ describe('typescript objects tests', () => {
},
optional: false,
readonly: false,
variadic: false,
meta: {
quote: undefined,
hasLeftSideExpression: false
Expand Down

0 comments on commit ed172bc

Please sign in to comment.