Skip to content

Commit

Permalink
EPMRPP-89382 || Drop support of cucumber <7 (#159)
Browse files Browse the repository at this point in the history
* Drop support of cucumber <7

* feat: add tests

* feat: add tests

* fix: update jest config

* fix: use LOG_LEVELS

* fix: update findScenario function

* fix: update tests

* fix: update test name
  • Loading branch information
AliakseiLiasnitski authored Feb 6, 2024
1 parent 645b67c commit 7a4a289
Show file tree
Hide file tree
Showing 20 changed files with 1,208 additions and 3,187 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
### Added
- Add `@cucumber/cucumber` version 10 support. Addressed [155](https://github.com/reportportal/agent-js-cucumber/issues/155).
### Changed
- **Breaking change** Drop support of cucumber <7. Addressed [153](https://github.com/reportportal/agent-js-cucumber/issues/153).
- **Breaking change** Drop support of Node.js 10. The version [5.2.3](https://github.com/reportportal/agent-js-cucumber/releases/tag/v5.2.3) is the latest that supports it.
- `@reportportal/client-javascript` bumped to version `5.1.0`.

Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Agent to integrate CucumberJS with ReportPortal.
* More about [ReportPortal](http://reportportal.io/)

This agent works well with cucumber versions from 7.x to 10.x.
Documentation for legacy cucumber versions from 4.x to 6.x can be found [here](/modules/api/deprecated/README.md)

## Install agent to your project dir

Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
moduleFileExtensions: ['js'],
testRegex: '/tests/.*\\.spec.(js)$',
collectCoverageFrom: ['modules/**.js', '!api/deprecated'],
collectCoverageFrom: ['modules/**.js'],
coverageThreshold: {
global: {
branches: 80,
Expand Down
Loading

0 comments on commit 7a4a289

Please sign in to comment.