14 lines
434 B
JavaScript
14 lines
434 B
JavaScript
/// <reference types="cypress" />
|
|
// ***********************************************************
|
|
const cucumber = require('cypress-cucumber-preprocessor').default
|
|
|
|
// This function is called when a project is opened or re-opened (e.g. due to
|
|
// the project's config changing)
|
|
|
|
/**
|
|
* @type {Cypress.PluginConfig}
|
|
*/
|
|
// eslint-disable-next-line no-unused-vars
|
|
module.exports = (on, config) => {
|
|
on('file:preprocessor', cucumber())
|
|
} |