init
This commit is contained in:
11
node_modules/cypress-cucumber-preprocessor/lib/getCucumberJsonConfig.js
generated
vendored
Normal file
11
node_modules/cypress-cucumber-preprocessor/lib/getCucumberJsonConfig.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
const log = require("debug")("cypress:cucumber");
|
||||
const { getConfig } = require("./getConfig");
|
||||
|
||||
exports.getCucumberJsonConfig = () => {
|
||||
const config = getConfig();
|
||||
const cucumberJson =
|
||||
config && config.cucumberJson ? config.cucumberJson : { generate: false };
|
||||
log("cucumber.json", JSON.stringify(cucumberJson));
|
||||
|
||||
return cucumberJson;
|
||||
};
|
Reference in New Issue
Block a user