Skip to content

Commit

Permalink
fix(compiler.js): updated Testcafe dependency to 1.20 and fixed sourc… (
Browse files Browse the repository at this point in the history
#98)

* fix(compiler.js): updated Testcafe dependency to 1.20 and fixed source to work with that version

#97

* reverted unneccesary version change

* corrected compiler.js

* fix(package.json, compiler.js): fixed error when using testcafe 1.20

#97
  • Loading branch information
eroetman authored Aug 8, 2022
1 parent 5a3af76 commit 33dd883
Show file tree
Hide file tree
Showing 4 changed files with 5,526 additions and 7,555 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ Unfortunately, you cannot define your custom parameter types registry file in Ty
Always create your new branch from `develop`.
I'd appreaciate if you would use `git flow` (or follow its naming conventions)
I'd appreciate if you would use `git flow` (or follow its naming conventions)
but it's not mandatory.
Commits will generally not be accepted if they have not been properly formatted.
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,19 @@
"@cucumber/gherkin": "^24.0.0",
"@cucumber/gherkin-streams": "^5.0.1",
"@cucumber/message-streams": "^4.0.1",
"@cucumber/messages": "^19.0.0"
"@cucumber/messages": "^19.1.2"
},
"peerDependencies": {
"@cucumber/cucumber": "^8.0.0",
"@cucumber/cucumber-expressions": "^15.0.0",
"testcafe": "~1.18.0"
"testcafe": "~1.20.0"
},
"devDependencies": {
"commitizen": "^4.2.4",
"commitizen": "^4.2.5",
"cz-conventional-changelog": "3.3.0",
"prettier": "^2.7.1",
"standard-version": "^9.5.0",
"testcafe": "1.18.6"
"testcafe": "1.20.0"
},
"config": {
"commitizen": {
Expand Down
4 changes: 2 additions & 2 deletions src/compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ module.exports = class GherkinTestcafeCompiler {
this.tags = getTags();
this.cucumberExpressionParamRegistry = getParameterTypeRegistry();
this.externalCompilers = [
new TestcafeESNextCompiler(),
new TestcafeTypescriptCompiler(compilerOptions[CustomizableCompilers.typescript]),
new TestcafeESNextCompiler({}),
new TestcafeTypescriptCompiler(compilerOptions[CustomizableCompilers.typescript])
];
}

Expand Down
Loading

0 comments on commit 33dd883

Please sign in to comment.