From e2b423c28084fd9691f02ba7abd691159f64a909 Mon Sep 17 00:00:00 2001 From: David Hadka Date: Mon, 11 Apr 2022 13:21:06 -0500 Subject: [PATCH] Revert "Disable redirect tests due to httpbin issue" --- __tests__/basics.test.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/__tests__/basics.test.ts b/__tests__/basics.test.ts index 7790f4d..70e9709 100644 --- a/__tests__/basics.test.ts +++ b/__tests__/basics.test.ts @@ -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') @@ -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') + @@ -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, @@ -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' @@ -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'