@@ -11,24 +11,6 @@ describe('Integration | integrationSettings', () => {
1111
1212 expect ( replay [ '_recordingOptions' ] . blockSelector ) . toBe ( '.sentry-block,[data-sentry-block],base[href="/"]' ) ;
1313 } ) ;
14-
15- it ( 'sets the correct configuration when `blockSelector` is empty and `blockAllMedia` is enabled' , async ( ) => {
16- const { replay } = await mockSdk ( { replayOptions : { blockSelector : '' } } ) ;
17-
18- expect ( replay [ '_recordingOptions' ] . blockSelector ) . toMatchInlineSnapshot (
19- '",.sentry-block,[data-sentry-block],base[href=\\"/\\"],img,image,svg,video,object,picture,embed,map,audio,link[rel=\\"icon\\"],link[rel=\\"apple-touch-icon\\"]"' ,
20- ) ;
21- } ) ;
22-
23- it ( 'preserves `blockSelector` when `blockAllMedia` is enabled' , async ( ) => {
24- const { replay } = await mockSdk ( {
25- replayOptions : { blockSelector : '[data-test-blockSelector]' } ,
26- } ) ;
27-
28- expect ( replay [ '_recordingOptions' ] . blockSelector ) . toMatchInlineSnapshot (
29- '"[data-test-blockSelector],.sentry-block,[data-sentry-block],base[href=\\"/\\"],img,image,svg,video,object,picture,embed,map,audio,link[rel=\\"icon\\"],link[rel=\\"apple-touch-icon\\"]"' ,
30- ) ;
31- } ) ;
3214 } ) ;
3315
3416 describe ( 'replaysSessionSampleRate' , ( ) => {
@@ -126,14 +108,6 @@ describe('Integration | integrationSettings', () => {
126108 } ) ;
127109 } ) ;
128110
129- describe ( 'maskTextSelector' , ( ) => {
130- it ( 'can have custom mask selector' , async ( ) => {
131- const { replay } = await mockSdk ( { replayOptions : { maskTextSelector : '[custom]' } } ) ;
132-
133- expect ( replay [ '_recordingOptions' ] . maskTextSelector ) . toBe ( '[custom],.sentry-mask,[data-sentry-mask]' ) ;
134- } ) ;
135- } ) ;
136-
137111 describe ( '_experiments' , ( ) => {
138112 it ( 'works with defining _experiments in integration' , async ( ) => {
139113 const { replay } = await mockSdk ( {
0 commit comments