@@ -38,7 +38,6 @@ function createEventFiltersEventProcessor(
3838 dsn : PUBLIC_DSN ,
3939 ...clientOptions ,
4040 defaultIntegrations : false ,
41- // eslint-disable-next-line deprecation/deprecation
4241 integrations : [ integration ] ,
4342 } ) ,
4443 ) ;
@@ -707,28 +706,28 @@ describe.each([
707706 } ) ;
708707
709708 it ( 'should apply denyUrls to the "root" error of a linked exception' , ( ) => {
710- const eventProcessor = createInboundFiltersEventProcessor ( {
709+ const eventProcessor = createEventFiltersEventProcessor ( integrationFn , {
711710 denyUrls : [ 'https://main-error.com' ] ,
712711 } ) ;
713712 expect ( eventProcessor ( EXCEPTION_EVENT_WITH_LINKED_ERRORS , { } ) ) . toBe ( null ) ;
714713 } ) ;
715714
716715 it ( 'should apply denyUrls to the "root" error of an aggregate exception' , ( ) => {
717- const eventProcessor = createInboundFiltersEventProcessor ( {
716+ const eventProcessor = createEventFiltersEventProcessor ( integrationFn , {
718717 denyUrls : [ 'https://main-error.com' ] ,
719718 } ) ;
720719 expect ( eventProcessor ( EXCEPTION_EVENT_WITH_AGGREGATE_ERRORS , { } ) ) . toBe ( null ) ;
721720 } ) ;
722721
723722 it ( 'should apply allowUrls to the "most root" exception in the event if there are exceptions without stacktrace' , ( ) => {
724- const eventProcessor = createInboundFiltersEventProcessor ( {
723+ const eventProcessor = createEventFiltersEventProcessor ( integrationFn , {
725724 allowUrls : [ 'https://some-error-that-is-not-main-error.com' ] ,
726725 } ) ;
727726 expect ( eventProcessor ( EXCEPTION_EVENT_WITH_LINKED_ERRORS_WITHOUT_STACKTRACE , { } ) ) . toBe ( null ) ;
728727 } ) ;
729728
730729 it ( 'should not apply allowUrls to the event when the "root" exception of an aggregate error doesn\'t have a stacktrace' , ( ) => {
731- const eventProcessor = createInboundFiltersEventProcessor ( {
730+ const eventProcessor = createEventFiltersEventProcessor ( integrationFn , {
732731 allowUrls : [ 'https://some-error-that-doesnt-match-anything.com' ] ,
733732 } ) ;
734733 expect ( eventProcessor ( EXCEPTION_EVENT_WITH_AGGREGATE_ERRORS_WITHOUT_STACKTRACE , { } ) ) . toBe (
0 commit comments