   describe 'when the request returns an error', ->
     client = amazonAffiliateApi.createClient credentials
 
+    beforeEach (done) ->
+      # pause between tests, avoid getting yelled at by amazon
+      setTimeout () ->
+        done()
+      , 500
+
     describe 'when no callback is passed', ->
       it 'should return the errors inside the request node', ->
         client.cartClear({})


  describe 'when credentials are valid', ->
    client = amazonAffiliateApi.createClient credentials

    afterEach (done) ->
      client.cartClear

          results.Items.should.have.property 'TotalResults'
          results.Items.should.have.property 'TotalPages'

  describe 'when credentials are invalid', ->
    client = amazonAffiliateApi.createClient awsTag: 'sfsadf', awsId: 'sfadf', awsSecret: 'fsg'

