         1
       th.deliver data
       pr
-
     y2 = (c, data) ->
       th = Root()
       th.deliver data

        chai.expect(res).to.eql expected.shift()
        done() if expected.length is 0

  describe 'with maybe & abort', ->
    it 'should resolve', (done) ->
      multiply = (multiplier, orig, data) ->

      .else (c, res) ->
        chai.expect(res).to.be.a 'number'
        chai.expect(res).to.equal 5
        done()

  describe 'with simple some', ->
    it 'should resolve', (done) ->
      y1 = (c, data) ->
        Root()
        .deliver data
        .then 'yep-1', ->
          1
      t = Root()
      .deliver {}
      .some([y1])
      .else (choice, e) -> # THIS ELSE CAUSES TIMEOUT!
        console.log "FAILED!", e
      .finally (choice, res) ->
        chai.expect(res).to.eql [1]
        done()

  describe 'with some, returning values & errors', ->
