Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.add('Document list', () => {
const gherkinDocuments = envelopes.filter(e => e.gherkinDocument).map(e => e.gherkinDocument)
const gherkinQuery = new GherkinQuery()
const cucumberQuery = new CucumberQuery(gherkinQuery)
for (const envelope of envelopes) {
gherkinQuery.update(envelope)
cucumberQuery.update(envelope)
}
return
})
.add('Steps', () => {
children: [],
}),
}),
new messages.StepMatchArgument({
group: new messages.StepMatchArgument.Group({
start: 22,
value: '1st Nov',
children: [],
}),
}),
]
})]
}
}
return
})
import React from 'react'
import CucumberQuery from 'cucumber-query'
import { GherkinQuery } from 'gherkin'
export default React.createContext(new CucumberQuery(new GherkinQuery()))