@wdio/cucumber-framework 8.8.4 → 8.8.7
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.
- package/build/index.js +2 -2
- package/package.json +5 -5
package/build/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { createRequire } from 'node:module';
|
|
|
4
4
|
import { EventEmitter } from 'node:events';
|
|
5
5
|
import mockery from 'mockery';
|
|
6
6
|
import isGlob from 'is-glob';
|
|
7
|
-
import
|
|
7
|
+
import { sync as globSync } from 'glob';
|
|
8
8
|
import * as Cucumber from '@cucumber/cucumber';
|
|
9
9
|
import { After, AfterAll, AfterStep, Before, BeforeAll, BeforeStep, DataTable, defineParameterType, defineStep, Given, setDefaultTimeout, setDefinitionFunctionWrapper, setWorldConstructor, World, Then, When } from '@cucumber/cucumber';
|
|
10
10
|
import { GherkinStreams } from '@cucumber/gherkin-streams';
|
|
@@ -189,7 +189,7 @@ class CucumberAdapter {
|
|
|
189
189
|
}
|
|
190
190
|
requiredFiles() {
|
|
191
191
|
return this._cucumberOpts.require.reduce((files, requiredFile) => files.concat(isGlob(requiredFile)
|
|
192
|
-
?
|
|
192
|
+
? globSync(requiredFile)
|
|
193
193
|
: [requiredFile]), []);
|
|
194
194
|
}
|
|
195
195
|
async loadSpecFiles() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/cucumber-framework",
|
|
3
|
-
"version": "8.8.
|
|
3
|
+
"version": "8.8.7",
|
|
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",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"@cucumber/messages": "22.0.0",
|
|
45
45
|
"@types/node": "^18.0.0",
|
|
46
46
|
"@wdio/logger": "8.6.6",
|
|
47
|
-
"@wdio/types": "8.8.
|
|
48
|
-
"@wdio/utils": "8.8.
|
|
49
|
-
"glob": "^
|
|
47
|
+
"@wdio/types": "8.8.7",
|
|
48
|
+
"@wdio/utils": "8.8.7",
|
|
49
|
+
"glob": "^10.2.2",
|
|
50
50
|
"is-glob": "^4.0.0",
|
|
51
51
|
"mockery": "^2.1.0"
|
|
52
52
|
},
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"publishConfig": {
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "c8f7c7298308b5d313d88a16fdd58f241fdeec52"
|
|
61
61
|
}
|