Created
October 18, 2020 18:25
-
-
Save LeonardoFassini/262c8ac3718ad1e3e112957d567e89b4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const cucumber = require('cypress-cucumber-preprocessor').default; | |
const browserify = require('@cypress/browserify-preprocessor'); | |
module.exports = (on, config) => { | |
const options = browserify.defaultOptions; | |
options.browserifyOptions.plugin.unshift(['tsify']); | |
on('file:preprocessor', cucumber(options)); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment