@@ -197,7 +197,7 @@ describe("Attempt verification", function () {
197
197
expect ( mockedAxios . get ) . toBeCalledTimes ( 1 ) ;
198
198
// Check the request to get the user
199
199
expect ( mockedAxios . get ) . toBeCalledWith ( "https://api.coinbase.com/v2/user" , {
200
- headers : { Authorization : "Bearer cnbstkn294745627362562" } ,
200
+ headers : { Authorization : "Bearer cnbstkn294745627362562" , Accept : "application/json" } ,
201
201
} ) ;
202
202
} ) ;
203
203
@@ -236,7 +236,7 @@ describe("Attempt verification", function () {
236
236
expect ( mockedAxios . get ) . toBeCalledTimes ( 1 ) ;
237
237
// Check the request to get the user
238
238
expect ( mockedAxios . get ) . toBeCalledWith ( "https://api.coinbase.com/v2/user" , {
239
- headers : { Authorization : "Bearer cnbstkn294745627362562" } ,
239
+ headers : { Authorization : "Bearer cnbstkn294745627362562" , Accept : "application/json" } ,
240
240
} ) ;
241
241
} ) ;
242
242
@@ -267,7 +267,7 @@ describe("Attempt verification", function () {
267
267
expect ( mockedAxios . get ) . toBeCalledTimes ( 1 ) ;
268
268
// Check the request to get the user
269
269
expect ( mockedAxios . get ) . toBeCalledWith ( "https://api.coinbase.com/v2/user" , {
270
- headers : { Authorization : "Bearer cnbstkn294745627362562" } ,
270
+ headers : { Authorization : "Bearer cnbstkn294745627362562" , Accept : "application/json" } ,
271
271
} ) ;
272
272
273
273
expect ( coinbasePayload ) . toMatchObject ( {
@@ -297,7 +297,7 @@ describe("Attempt verification", function () {
297
297
expect ( mockedAxios . get ) . toBeCalledTimes ( 1 ) ;
298
298
// Check the request to get the user
299
299
expect ( mockedAxios . get ) . toBeCalledWith ( "https://api.coinbase.com/v2/user" , {
300
- headers : { Authorization : "Bearer cnbstkn294745627362562" } ,
300
+ headers : { Authorization : "Bearer cnbstkn294745627362562" , Accept : "application/json" } ,
301
301
} ) ;
302
302
303
303
expect ( coinbasePayload ) . toEqual (
0 commit comments