diff options
Diffstat (limited to 'node_modules/stream-http/test/browser/error.js.disabled')
-rw-r--r-- | node_modules/stream-http/test/browser/error.js.disabled | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/node_modules/stream-http/test/browser/error.js.disabled b/node_modules/stream-http/test/browser/error.js.disabled deleted file mode 100644 index 4a328d622..000000000 --- a/node_modules/stream-http/test/browser/error.js.disabled +++ /dev/null @@ -1,12 +0,0 @@ -var Buffer = require('buffer').Buffer -var test = require('tape') - -var http = require('../..') - -test('error handling', function (t) { - var req = http.get('https://0.0.0.0:0/fail.txt') - req.on('error', function (err) { - t.ok(err && ('message' in err), 'got error') - t.end() - }) -})
\ No newline at end of file |