mirror of
https://github.com/actions/http-client.git
synced 2025-04-21 17:52:29 +00:00
Disable redirect tests due to httpbin issue
This commit is contained in:
parent
88fc9d94d5
commit
91c9096197
@ -128,7 +128,7 @@ describe('basics', () => {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
it('does basic get request with redirects', async done => {
|
it.skip('does basic get request with redirects', async done => {
|
||||||
let res: httpm.HttpClientResponse = await _http.get(
|
let res: httpm.HttpClientResponse = await _http.get(
|
||||||
'https://httpbin.org/redirect-to?url=' +
|
'https://httpbin.org/redirect-to?url=' +
|
||||||
encodeURIComponent('https://httpbin.org/get')
|
encodeURIComponent('https://httpbin.org/get')
|
||||||
@ -140,7 +140,7 @@ describe('basics', () => {
|
|||||||
done()
|
done()
|
||||||
})
|
})
|
||||||
|
|
||||||
it('does basic get request with redirects (303)', async done => {
|
it.skip('does basic get request with redirects (303)', async done => {
|
||||||
let res: httpm.HttpClientResponse = await _http.get(
|
let res: httpm.HttpClientResponse = await _http.get(
|
||||||
'https://httpbin.org/redirect-to?url=' +
|
'https://httpbin.org/redirect-to?url=' +
|
||||||
encodeURIComponent('https://httpbin.org/get') +
|
encodeURIComponent('https://httpbin.org/get') +
|
||||||
@ -164,7 +164,7 @@ describe('basics', () => {
|
|||||||
done()
|
done()
|
||||||
})
|
})
|
||||||
|
|
||||||
it('does not follow redirects if disabled', async done => {
|
it.skip('does not follow redirects if disabled', async done => {
|
||||||
let http: httpm.HttpClient = new httpm.HttpClient(
|
let http: httpm.HttpClient = new httpm.HttpClient(
|
||||||
'typed-test-client-tests',
|
'typed-test-client-tests',
|
||||||
null,
|
null,
|
||||||
@ -179,7 +179,7 @@ describe('basics', () => {
|
|||||||
done()
|
done()
|
||||||
})
|
})
|
||||||
|
|
||||||
it('does not pass auth with diff hostname redirects', async done => {
|
it.skip('does not pass auth with diff hostname redirects', async done => {
|
||||||
let headers = {
|
let headers = {
|
||||||
accept: 'application/json',
|
accept: 'application/json',
|
||||||
authorization: 'shhh'
|
authorization: 'shhh'
|
||||||
@ -202,7 +202,7 @@ describe('basics', () => {
|
|||||||
done()
|
done()
|
||||||
})
|
})
|
||||||
|
|
||||||
it('does not pass Auth with diff hostname redirects', async done => {
|
it.skip('does not pass Auth with diff hostname redirects', async done => {
|
||||||
let headers = {
|
let headers = {
|
||||||
Accept: 'application/json',
|
Accept: 'application/json',
|
||||||
Authorization: 'shhh'
|
Authorization: 'shhh'
|
||||||
|
Loading…
Reference in New Issue
Block a user