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

Commit

Permalink
cr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanmacfarlane committed Apr 23, 2020
1 parent 943067f commit cde0b32
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions __tests__/basics.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ describe('basics', () => {
let body: string = await res.readBody()
let obj: any = JSON.parse(body)
// httpbin "fixes" the casing
expect(obj.headers['Accept']).toBe('application/json')
expect(obj.headers['Authorization']).toBeUndefined()
expect(obj.headers['authorization']).toBeUndefined()
expect(obj.url).toBe('https://www.httpbin.org/get')
Expand All @@ -216,6 +217,7 @@ describe('basics', () => {
let body: string = await res.readBody()
let obj: any = JSON.parse(body)
// httpbin "fixes" the casing
expect(obj.headers['Accept']).toBe('application/json')
expect(obj.headers['Authorization']).toBeUndefined()
expect(obj.headers['authorization']).toBeUndefined()
expect(obj.url).toBe('https://www.httpbin.org/get')
Expand Down

0 comments on commit cde0b32

Please sign in to comment.