@wdio/cucumber-framework 7.19.5 → 7.20.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/build/index.js +1 -1
  2. package/package.json +8 -8
package/build/index.js CHANGED
@@ -63,7 +63,7 @@ function getResultObject(world) {
63
63
  return {
64
64
  passed: (((_a = world.result) === null || _a === void 0 ? void 0 : _a.status) === Cucumber.Status.PASSED || ((_b = world.result) === null || _b === void 0 ? void 0 : _b.status) === Cucumber.Status.SKIPPED),
65
65
  error: (_c = world.result) === null || _c === void 0 ? void 0 : _c.message,
66
- duration: ((_e = (_d = world.result) === null || _d === void 0 ? void 0 : _d.duration) === null || _e === void 0 ? void 0 : _e.nanos) / 10e6 // convert into ms
66
+ duration: ((_e = (_d = world.result) === null || _d === void 0 ? void 0 : _d.duration) === null || _e === void 0 ? void 0 : _e.nanos) / 1e6 // convert into ms
67
67
  };
68
68
  }
69
69
  class CucumberAdapter {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/cucumber-framework",
3
- "version": "7.19.5",
3
+ "version": "7.20.2",
4
4
  "description": "A WebdriverIO plugin. Adapter for Cucumber.js testing framework.",
5
5
  "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-cucumber-framework",
@@ -22,18 +22,18 @@
22
22
  "url": "https://github.com/webdriverio/webdriverio/issues"
23
23
  },
24
24
  "dependencies": {
25
- "@cucumber/cucumber": "8.0.0",
26
- "@cucumber/gherkin": "23.0.1",
25
+ "@cucumber/cucumber": "8.2.2",
26
+ "@cucumber/gherkin": "24.0.0",
27
27
  "@cucumber/gherkin-streams": "^5.0.0",
28
- "@cucumber/messages": "18.0.0",
28
+ "@cucumber/messages": "19.0.0",
29
29
  "@types/is-glob": "^4.0.1",
30
30
  "@types/long": "^4.0.1",
31
31
  "@types/mockery": "^1.4.29",
32
32
  "@wdio/logger": "7.19.0",
33
- "@wdio/types": "7.19.5",
34
- "@wdio/utils": "7.19.5",
33
+ "@wdio/types": "7.20.0",
34
+ "@wdio/utils": "7.20.0",
35
35
  "expect-webdriverio": "^3.0.0",
36
- "glob": "^7.1.2",
36
+ "glob": "^8.0.3",
37
37
  "is-glob": "^4.0.0",
38
38
  "long": "^4.0.0",
39
39
  "mockery": "^2.1.0"
@@ -45,5 +45,5 @@
45
45
  "access": "public"
46
46
  },
47
47
  "types": "./build/index.d.ts",
48
- "gitHead": "75af233cbaecf1aaf6a6168dfb4225f56dd21daf"
48
+ "gitHead": "51b8a952ec1c8e8265472823759e4cb200c272bc"
49
49
  }