Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
module.exports = (on) => {
on('file:preprocessor', cucumber());
};
module.exports = (on, config) => {
on('file:preprocessor', cucumber())
tideAdmin(on, config)
config.env = {
ADMIN_USERNAME: process.env.CYPRESS_ADMIN_USERNAME,
ADMIN_PASSWORD: process.env.CYPRESS_ADMIN_PASSWORD,
AUTH_USER: process.env.CONTENT_API_AUTH_USER,
AUTH_PASS: process.env.CONTENT_API_AUTH_PASS,
CONTENT_API_SERVER: process.env.CONTENT_API_SERVER
}
return config
}
module.exports = (on, config) => {
on('file:preprocessor', cucumber());
on('task', {
log(message) {
console.log(message);
return null;
},
});
};
module.exports = on => {
on("file:preprocessor", cucumber());
};