Simon Priet 9e2991e668 init
2021-09-05 22:53:58 +02:00

12 lines
350 B
JavaScript

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;
};