@@ -37,7 +37,7 @@ describe('ContactProperties', () => {
3737 } ;
3838
3939 mockSuccessResponse ( response , {
40- headers : { Authorization : 'Bearer re_924b3rjh2387fbewf823 ' } ,
40+ headers : { Authorization : 'Bearer re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop ' } ,
4141 } ) ;
4242 const resend = new Resend ( 're_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop' ) ;
4343 await expect (
@@ -50,7 +50,7 @@ describe('ContactProperties', () => {
5050 },
5151 "error": null,
5252 "headers": {
53- "authorization": "Bearer re_924b3rjh2387fbewf823 ",
53+ "authorization": "Bearer re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop ",
5454 "content-type": "application/json",
5555 },
5656 }
@@ -117,7 +117,7 @@ describe('ContactProperties', () => {
117117 has_more : false ,
118118 } ;
119119 mockSuccessResponse ( response , {
120- headers : { Authorization : 'Bearer re_924b3rjh2387fbewf823 ' } ,
120+ headers : { Authorization : 'Bearer re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop ' } ,
121121 } ) ;
122122 const resend = new Resend ( 're_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop' ) ;
123123 await expect (
@@ -147,6 +147,10 @@ describe('ContactProperties', () => {
147147 "object": "list",
148148 },
149149 "error": null,
150+ "headers": {
151+ "authorization": "Bearer re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop",
152+ "content-type": "application/json",
153+ },
150154}
151155` ) ;
152156 } ) ;
@@ -163,7 +167,7 @@ describe('ContactProperties', () => {
163167 created_at : '2021-01-01T00:00:00.000Z' ,
164168 } ;
165169 mockSuccessResponse ( response , {
166- headers : { Authorization : 'Bearer re_924b3rjh2387fbewf823 ' } ,
170+ headers : { Authorization : 'Bearer re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop ' } ,
167171 } ) ;
168172 const resend = new Resend ( 're_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop' ) ;
169173 await expect (
@@ -179,6 +183,10 @@ describe('ContactProperties', () => {
179183 "type": "string",
180184 },
181185 "error": null,
186+ "headers": {
187+ "authorization": "Bearer re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop",
188+ "content-type": "application/json",
189+ },
182190}
183191` ) ;
184192 } ) ;
@@ -203,6 +211,7 @@ describe('ContactProperties', () => {
203211 "name": "missing_required_field",
204212 "statusCode": null,
205213 },
214+ "headers": null,
206215}
207216` ) ;
208217 } ) ;
@@ -247,7 +256,7 @@ describe('ContactProperties', () => {
247256 object : 'contact_property' ,
248257 } ;
249258 mockSuccessResponse ( response , {
250- headers : { Authorization : 'Bearer re_924b3rjh2387fbewf823 ' } ,
259+ headers : { Authorization : 'Bearer re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop ' } ,
251260 } ) ;
252261 const resend = new Resend ( 're_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop' ) ;
253262 await expect (
@@ -260,7 +269,7 @@ describe('ContactProperties', () => {
260269 },
261270 "error": null,
262271 "headers": {
263- "authorization": "Bearer re_924b3rjh2387fbewf823 ",
272+ "authorization": "Bearer re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop ",
264273 "content-type": "application/json",
265274 },
266275 }
@@ -290,6 +299,7 @@ describe('ContactProperties', () => {
290299 "name": "missing_required_field",
291300 "statusCode": null,
292301 },
302+ "headers": null,
293303}
294304` ) ;
295305 } ) ;
@@ -303,7 +313,7 @@ describe('ContactProperties', () => {
303313 object : 'contact_property' ,
304314 } ;
305315 mockSuccessResponse ( response , {
306- headers : { Authorization : 'Bearer re_924b3rjh2387fbewf823 ' } ,
316+ headers : { Authorization : 'Bearer re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop ' } ,
307317 } ) ;
308318 const resend = new Resend ( 're_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop' ) ;
309319 await expect (
@@ -317,7 +327,7 @@ describe('ContactProperties', () => {
317327 },
318328 "error": null,
319329 "headers": {
320- "authorization": "Bearer re_924b3rjh2387fbewf823 ",
330+ "authorization": "Bearer re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop ",
321331 "content-type": "application/json",
322332 },
323333 }
@@ -344,6 +354,7 @@ describe('ContactProperties', () => {
344354 "name": "missing_required_field",
345355 "statusCode": null,
346356 },
357+ "headers": null,
347358}
348359` ) ;
349360 } ) ;
0 commit comments