This commit is contained in:
Bryan MacFarlane
2020-01-23 09:25:39 -05:00
parent f18f070af6
commit a77f06ef45
7 changed files with 19 additions and 16 deletions

View File

@@ -151,7 +151,7 @@ describe('proxy', () => {
expect(res.message.statusCode).toBe(200);
let body: string = await res.readBody();
let obj: any = JSON.parse(body);
expect(obj.url).toBe("https://httpbin.org/get");
expect(obj.url).toBe("http://httpbin.org/get");
expect(_proxyConnects).toEqual(['httpbin.org:80'])
})
@@ -163,7 +163,7 @@ describe('proxy', () => {
expect(res.message.statusCode).toBe(200);
let body: string = await res.readBody();
let obj: any = JSON.parse(body);
expect(obj.url).toBe("https://httpbin.org/get");
expect(obj.url).toBe("http://httpbin.org/get");
expect(_proxyConnects).toHaveLength(0)
})