@revoloo/cypress6
Version:
Cypress.io end to end testing tool
15 lines (12 loc) • 414 B
JavaScript
const run = (options) => {
// TODO: make sure if we need to run this in electron by default to match e2e behavior?
options.browser = options.browser || 'chrome'
options.runAllSpecsInSameBrowserSession = true
// if we're in run mode with component
// testing then just pass this through
// without waiting on electron to be ready
return require('./run').ready(options)
}
module.exports = {
run,
}