We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ae6430 commit 96f9311Copy full SHA for 96f9311
lib/featuresLoader.js
@@ -59,7 +59,7 @@ const createCucumber = (
59
.join("\n")}
60
`;
61
62
-module.exports = function(_, filePath) {
+module.exports = function(_, filePath = this.resourcePath) {
63
log("compiling", filePath);
64
65
const features = glob.sync(`${path.dirname(filePath)}/**/*.feature`);
0 commit comments