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

Commit cde0b32

Browse files
cr feedback
1 parent 943067f commit cde0b32

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

__tests__/basics.test.ts

+2
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ describe('basics', () => {
194194
let body: string = await res.readBody()
195195
let obj: any = JSON.parse(body)
196196
// httpbin "fixes" the casing
197+
expect(obj.headers['Accept']).toBe('application/json')
197198
expect(obj.headers['Authorization']).toBeUndefined()
198199
expect(obj.headers['authorization']).toBeUndefined()
199200
expect(obj.url).toBe('https://www.httpbin.org/get')
@@ -216,6 +217,7 @@ describe('basics', () => {
216217
let body: string = await res.readBody()
217218
let obj: any = JSON.parse(body)
218219
// httpbin "fixes" the casing
220+
expect(obj.headers['Accept']).toBe('application/json')
219221
expect(obj.headers['Authorization']).toBeUndefined()
220222
expect(obj.headers['authorization']).toBeUndefined()
221223
expect(obj.url).toBe('https://www.httpbin.org/get')

0 commit comments

Comments
 (0)