 noError = (err) -> expect(err).toEqual(null)
 
 integration = (label, fn) ->
+  if label.match(/\(no phantomjs\)/) and navigator.userAgent.match(/phantomjs/i)
+    return
   it label, ->
     done = false
     runs -> fn(-> done = true)

        s3.deleteObject(Key: key).send(done)

    describe 'progress events', ->
      integration 'emits http(Upload|Download)Progress events', (done) ->
        data = []
        progress = []
        key = uniqueName('test')

            expect(data.Body.toString()).toEqual(body)
          s3.deleteObject(Key: key).send(done)

    integration 'GETs and PUTs objects to a bucket (no phantomjs)', (done) ->
      testWrite done, 'ƒoo'

    integration 'writes typed array data (no phantomjs)', (done) ->
      testWrite done, new Uint8Array([2, 4, 8]), (data) ->
        expect(data.Body[0]).toEqual(2)
        expect(data.Body[1]).toEqual(4)
        expect(data.Body[2]).toEqual(8)

    integration 'writes blobs (no phantomjs)', (done) ->
      testWrite done, new Blob(['a', 'b', 'c']), (data) ->
        expect(data.Body[0]).toEqual(97)
        expect(data.Body[1]).toEqual(98)
