import { IGherkinOptions } from '@cucumber/gherkin' ; import { IdGenerator } from '@cucumber/messages' ; const defaultOptions = { defaultDialect : 'en' , includeSource : true , includeGherkinDocument : true , includePickles : true , newId : IdGenerator . uuid ( ) , } ; export default function gherkinOptions ( options ) { return { ... defaultOptions , ... options } ; }