@@ -183,7 +183,7 @@ describe('shouldAttachHeaders', () => {
183
183
[ 'https://my-origin.com?my-query' , 'my-query' , true ] ,
184
184
[ 'https://not-my-origin.com?my-query' , 'my-query' , true ] ,
185
185
] ) (
186
- 'for url %p and tracePropagationTarget %p on page "https://my-origin.com/api/my-route" should return %p ' ,
186
+ 'for url %j and tracePropagationTarget %j on page "https://my-origin.com/api/my-route" should return %j ' ,
187
187
( url , matcher , result ) => {
188
188
expect ( shouldAttachHeaders ( url , [ matcher ] ) ) . toBe ( result ) ;
189
189
} ,
@@ -234,7 +234,7 @@ describe('shouldAttachHeaders', () => {
234
234
'https://not-my-origin.com/api' ,
235
235
'https://my-origin.com?my-query' ,
236
236
'https://not-my-origin.com?my-query' ,
237
- ] ) ( 'should return false for everything if tracePropagationTargets are empty (%p )' , url => {
237
+ ] ) ( 'should return false for everything if tracePropagationTargets are empty (%j )' , url => {
238
238
expect ( shouldAttachHeaders ( url , [ ] ) ) . toBe ( false ) ;
239
239
} ) ;
240
240
@@ -266,7 +266,7 @@ describe('shouldAttachHeaders', () => {
266
266
[ 'http://localhost:3000' , false ] ,
267
267
[ 'https://somewhere.com/test/localhost/123' , false ] ,
268
268
[ 'https://somewhere.com/test?url=https://my-origin.com' , false ] ,
269
- ] ) ( 'for URL %p should return %p ' , ( url , expectedResult ) => {
269
+ ] ) ( 'for URL %j should return %j ' , ( url , expectedResult ) => {
270
270
expect ( shouldAttachHeaders ( url , undefined ) ) . toBe ( expectedResult ) ;
271
271
} ) ;
272
272
} ) ;
@@ -327,7 +327,7 @@ describe('shouldAttachHeaders', () => {
327
327
[ 'https://not-my-origin.com/api' , 'api' , true ] ,
328
328
[ 'https://my-origin.com?my-query' , 'my-query' , true ] ,
329
329
[ 'https://not-my-origin.com?my-query' , 'my-query' , true ] ,
330
- ] ) ( 'for url %p and tracePropagationTarget %p should return %p ' , ( url , matcher , result ) => {
330
+ ] ) ( 'for url %j and tracePropagationTarget %j should return %j ' , ( url , matcher , result ) => {
331
331
expect ( shouldAttachHeaders ( url , [ matcher ] ) ) . toBe ( result ) ;
332
332
} ) ;
333
333
} ) ;
0 commit comments