     .then (results) ->
       cartId = results.Cart.CartId
       cartHMAC = results.Cart.HMAC
-      done()
 
   describe 'when credentials are valid', ->
     client = amazonAffiliateApi.createClient credentials

        done()
      , 500

    afterEach (done) ->
      client.cartClear
        CartId: cartId
        HMAC: cartHMAC
      .then (results) ->
        done()

    describe 'when no callback is passed', ->
      it 'should return results from amazon', ->

  # pause between tests, avoid getting yelled at by amazon
  setTimeout () ->
    done()
  , 1000

describe 'formatQueryParams(query, method, credentials)', ->
  it 'should return an object', ->
