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

Commit

Permalink
Merge pull request #66 from dhadka/revert-33-dhadka/disable-redirect-…
Browse files Browse the repository at this point in the history
…tests

Revert "Disable redirect tests due to httpbin issue"
  • Loading branch information
joshmgross authored Apr 11, 2022
2 parents 5ea1c52 + e2b423c commit 1ec680f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions __tests__/basics.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ describe('basics', () => {
})
})

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

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

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

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

it.skip('does not pass Auth with diff hostname redirects', async done => {
it('does not pass Auth with diff hostname redirects', async done => {
let headers = {
Accept: 'application/json',
Authorization: 'shhh'
Expand Down

0 comments on commit 1ec680f

Please sign in to comment.