Skip to content

Commit

Permalink
Remove duplicate test
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Nov 14, 2016
1 parent 578784e commit 7f55e03
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -973,19 +973,6 @@ suite('fetch method', function() {
assert.equal(response.headers.get('Content-Type'), 'text/html; charset=utf-8')
})
})

featureDependent(test, support.blob, 'handles binary', function() {
return fetch('/binary').then(function(response) {
return response.arrayBuffer()
}).then(function(buf) {
assert(buf instanceof ArrayBuffer, 'buf is an ArrayBuffer instance')
assert.equal(buf.byteLength, 256, 'buf.byteLength is correct')
var view = new Uint8Array(buf)
for (var i = 0; i < 256; i++) {
assert.equal(view[i], i)
}
})
})
})

// https://fetch.spec.whatwg.org/#methods
Expand Down

0 comments on commit 7f55e03

Please sign in to comment.