Bamieh/reflow

View on GitHub
examples/example-e2e-project/subflow/conditional.js

Summary

Maintainability
A
2 hrs
Test Coverage
subflow("Conditional Subflow", function() {
  return {
    condition: branches => {
      return branches
        .filter(branch => branch.type === 'suite')
        .some(branch => branch.name === 'Suite C')
    },
    suites: [
      getSuite('Suite E', ['core']),
    ]
  }
})