@@ -39,7 +39,7 @@ const baseSubscriptionResponse: ShopperConsentsTypes.ConsentSubscriptionResponse
3939 data : [
4040 {
4141 subscriptionId : 'test-subscription' ,
42- channels : new Set ( [ 'email' as ShopperConsentsTypes . ChannelType ] ) ,
42+ channels : [ 'email' as ShopperConsentsTypes . ChannelType ] ,
4343 contactPointValue : 'test@example.com'
4444 }
4545 ]
@@ -124,7 +124,7 @@ describe('Cache update behavior', () => {
124124 data : [
125125 {
126126 subscriptionId : 'test-subscription' ,
127- channels : new Set ( [ 'email' as ShopperConsentsTypes . ChannelType ] ) ,
127+ channels : [ 'email' as ShopperConsentsTypes . ChannelType ] ,
128128 contactPointValue : 'test@example.com'
129129 }
130130 ]
@@ -209,12 +209,12 @@ describe('Cache update behavior', () => {
209209 data : [
210210 {
211211 subscriptionId : 'test-subscription' ,
212- channels : new Set ( [ 'email' as ShopperConsentsTypes . ChannelType ] ) ,
212+ channels : [ 'email' as ShopperConsentsTypes . ChannelType ] ,
213213 contactPointValue : 'test@example.com'
214214 } ,
215215 {
216216 subscriptionId : 'test-subscription-2' ,
217- channels : new Set ( [ 'sms' as ShopperConsentsTypes . ChannelType ] ) ,
217+ channels : [ 'sms' as ShopperConsentsTypes . ChannelType ] ,
218218 contactPointValue : '+15551234567'
219219 }
220220 ]
0 commit comments