mirror of
https://github.com/d0zingcat/cors-anywhere.git
synced 2026-05-27 23:16:45 +00:00
Add test for proxy error
This commit is contained in:
@@ -87,6 +87,9 @@ nock('http://example.com')
|
||||
.reply(302, 'redirecting ad infinitum...', {
|
||||
'Location': '/redirectloop'
|
||||
})
|
||||
|
||||
.get('/proxyerror')
|
||||
.replyWithError('throw node')
|
||||
;
|
||||
|
||||
echoheaders('http://example.com');
|
||||
|
||||
Reference in New Issue
Block a user