@@ -63,7 +63,7 @@ describe('Unit | coreHandlers | handleNetworkBreadcrumbs', () => {
6363 textEncoder : new TextEncoder ( ) ,
6464 replay : setupReplayContainer ( ) ,
6565 networkDetailAllowUrls : [ 'https://example.com' ] ,
66- networkDetailExcludeUrls : [ 'http://localhost:8080' ] ,
66+ networkDetailDenyUrls : [ 'http://localhost:8080' ] ,
6767 networkCaptureBodies : false ,
6868 networkRequestHeaders : [ 'content-type' , 'accept' , 'x-custom-header' ] ,
6969 networkResponseHeaders : [ 'content-type' , 'accept' , 'x-custom-header' ] ,
@@ -1390,8 +1390,8 @@ other-header: test`;
13901390 [ 'exact regex match' , 'http://example.com/exact' ] ,
13911391 [ 'partial regex match' , 'http://example.com/partial/string' ] ,
13921392 ] ) ( 'matching URL %s' , ( _label , url ) => {
1393- it ( 'correctly excludes URL for fetch request' , async ( ) => {
1394- options . networkDetailExcludeUrls = [
1393+ it ( 'correctly deny URL for fetch request' , async ( ) => {
1394+ options . networkDetailDenyUrls = [
13951395 'https://example.com/foo' ,
13961396 'com/bar' ,
13971397 / ^ h t t p : \/ \/ e x a m p l e .c o m \/ e x a c t $ / ,
@@ -1465,8 +1465,8 @@ other-header: test`;
14651465 ] ) ;
14661466 } ) ;
14671467
1468- it ( 'correctly excludes URL for xhr request' , async ( ) => {
1469- options . networkDetailExcludeUrls = [
1468+ it ( 'correctly deny URL for xhr request' , async ( ) => {
1469+ options . networkDetailDenyUrls = [
14701470 'https://example.com/foo' ,
14711471 'com/bar' ,
14721472 / ^ h t t p : \/ \/ e x a m p l e .c o m \/ e x a c t $ / ,
0 commit comments