                 promise.fail [failFn]
 
                 runs rejectFn
-                waits 1
+                waits WAIT_TIME
                 runs ->
                     expect(failFn.called).toBe true
     


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

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

                promise.done [successFn]

                runs resolveFn
                waits WAIT_TIME
                runs ->
                    expect(successFn.called).toBe true

