@@ -11,24 +11,6 @@ describe('Integration | integrationSettings', () => {
11
11
12
12
expect ( replay [ '_recordingOptions' ] . blockSelector ) . toBe ( '.sentry-block,[data-sentry-block],base[href="/"]' ) ;
13
13
} ) ;
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
- } ) ;
32
14
} ) ;
33
15
34
16
describe ( 'replaysSessionSampleRate' , ( ) => {
@@ -126,14 +108,6 @@ describe('Integration | integrationSettings', () => {
126
108
} ) ;
127
109
} ) ;
128
110
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
-
137
111
describe ( '_experiments' , ( ) => {
138
112
it ( 'works with defining _experiments in integration' , async ( ) => {
139
113
const { replay } = await mockSdk ( {
0 commit comments