Skip to content
This repository was archived by the owner on May 3, 2022. It is now read-only.

Commit 544584c

Browse files
Merge pull request #33 from dhadka/dhadka/disable-redirect-tests
Disable redirect tests due to httpbin issue
2 parents 88fc9d9 + 91c9096 commit 544584c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

__tests__/basics.test.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ describe('basics', () => {
128128
})
129129
})
130130

131-
it('does basic get request with redirects', async done => {
131+
it.skip('does basic get request with redirects', async done => {
132132
let res: httpm.HttpClientResponse = await _http.get(
133133
'https://httpbin.org/redirect-to?url=' +
134134
encodeURIComponent('https://httpbin.org/get')
@@ -140,7 +140,7 @@ describe('basics', () => {
140140
done()
141141
})
142142

143-
it('does basic get request with redirects (303)', async done => {
143+
it.skip('does basic get request with redirects (303)', async done => {
144144
let res: httpm.HttpClientResponse = await _http.get(
145145
'https://httpbin.org/redirect-to?url=' +
146146
encodeURIComponent('https://httpbin.org/get') +
@@ -164,7 +164,7 @@ describe('basics', () => {
164164
done()
165165
})
166166

167-
it('does not follow redirects if disabled', async done => {
167+
it.skip('does not follow redirects if disabled', async done => {
168168
let http: httpm.HttpClient = new httpm.HttpClient(
169169
'typed-test-client-tests',
170170
null,
@@ -179,7 +179,7 @@ describe('basics', () => {
179179
done()
180180
})
181181

182-
it('does not pass auth with diff hostname redirects', async done => {
182+
it.skip('does not pass auth with diff hostname redirects', async done => {
183183
let headers = {
184184
accept: 'application/json',
185185
authorization: 'shhh'
@@ -202,7 +202,7 @@ describe('basics', () => {
202202
done()
203203
})
204204

205-
it('does not pass Auth with diff hostname redirects', async done => {
205+
it.skip('does not pass Auth with diff hostname redirects', async done => {
206206
let headers = {
207207
Accept: 'application/json',
208208
Authorization: 'shhh'

0 commit comments

Comments
 (0)