Skip to content

Commit 158ef02

Browse files
bn-jcundilllgandecki
authored andcommitted
fix resourcePath not passed in via webpack
1 parent ff1f41f commit 158ef02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const createCucumber = (filePath, cucumberJson, spec, toRequire) =>
2525
createTestsFromFeature(filePath, spec);
2626
`;
2727

28-
module.exports = (spec, filePath = this.resourcePath) => {
28+
module.exports = function(spec, filePath = this.resourcePath) {
2929
const explorer = cosmiconfig("cypress-cucumber-preprocessor", { sync: true });
3030
const loaded = explorer.load();
3131
const cucumberJson =

0 commit comments

Comments
 (0)