@@ -103,7 +103,7 @@ test('regular mode', async () => {
103
103
+ '&osv=__DeviceInfoSystemVersion__'
104
104
+ '&dn=__DeviceInfoBrand__%20__DeviceInfoDeviceId__'
105
105
+ '&dr=150x300'
106
- + '&iab_consent =__FetchConsent__' ) ;
106
+ + '&gdpr_consent =__FetchConsent__' ) ;
107
107
108
108
expect ( fetch ) . toHaveBeenNthCalledWith ( 3 ,
109
109
'https://visitanalytics.userreport.com/hit.gif'
@@ -116,7 +116,7 @@ test('regular mode', async () => {
116
116
+ '&osv=__DeviceInfoSystemVersion__'
117
117
+ '&dn=__DeviceInfoBrand__%20__DeviceInfoDeviceId__'
118
118
+ '&dr=150x300'
119
- + '&iab_consent =__FetchConsent__' ) ;
119
+ + '&gdpr_consent =__FetchConsent__' ) ;
120
120
} ) ;
121
121
122
122
test ( 'legacy idfa' , async ( ) => {
@@ -138,7 +138,7 @@ test('legacy idfa', async () => {
138
138
+ '&osv=__DeviceInfoSystemVersion__'
139
139
+ '&dn=__DeviceInfoBrand__%20__DeviceInfoDeviceId__'
140
140
+ '&dr=150x300'
141
- + '&iab_consent =__FetchConsent__' ) ;
141
+ + '&gdpr_consent =__FetchConsent__' ) ;
142
142
} ) ;
143
143
144
144
test ( 'dnt mode' , async ( ) => {
@@ -166,7 +166,7 @@ test('dnt mode', async () => {
166
166
+ '&osv=__DeviceInfoSystemVersion__'
167
167
+ '&dn=__DeviceInfoBrand__%20__DeviceInfoDeviceId__'
168
168
+ '&dr=150x300'
169
- + '&iab_consent =__FetchConsent__' ) ;
169
+ + '&gdpr_consent =__FetchConsent__' ) ;
170
170
171
171
expect ( fetch ) . toHaveBeenNthCalledWith ( 3 ,
172
172
'https://visitanalytics.dnt-userreport.com/hit.gif'
@@ -177,5 +177,5 @@ test('dnt mode', async () => {
177
177
+ '&osv=__DeviceInfoSystemVersion__'
178
178
+ '&dn=__DeviceInfoBrand__%20__DeviceInfoDeviceId__'
179
179
+ '&dr=150x300'
180
- + '&iab_consent =__FetchConsent__' ) ;
180
+ + '&gdpr_consent =__FetchConsent__' ) ;
181
181
} ) ;
0 commit comments