                 promise.then [successFn2], [failFn]
 
                 runs resolveFn
-                waits 1
+                waits WAIT_TIME
                 runs ->
                     expect(successFn1.called).toBe true
                     expect(successFn2.called).toBe true

{Deferred} = require('backburner-deferred')

callTrackingFn = ->
    return ->


            it 'should return false if rejected', ->
                runs rejectFn
                waits WAIT_TIME
                runs ->
                    expect(promise.isResolved()).toBe false

            it 'should return true if resolved', ->
                runs resolveFn
                waits WAIT_TIME
                runs ->
                    expect(promise.isResolved()).toBe true
exports.describePromise = describePromise
