Skip to content

Commit bb49dd5

Browse files
committed
fix tests for web
1 parent 16bd19d commit bb49dd5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

flutter/test/replay/masking_config_test.dart

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,8 @@ void main() async {
120120
.map((rule) => rule.toString())
121121
// These normalize the string on VM & js & wasm:
122122
.map((str) => str.replaceAll(
123-
RegExp(
124-
r"SentryMaskingDecision from:? [fF]unction '?_maskImagesExceptAssets[@(].*",
125-
dotAll: true),
126-
'SentryMaskingDecision)'))
123+
RegExp(r"=> SentryMaskingDecision from:? .*", dotAll: true),
124+
'=> SentryMaskingDecision)'))
127125
.map((str) => str.replaceAll(
128126
' from: (element, widget) => masking_config.SentryMaskingDecision.mask',
129127
''))

0 commit comments

Comments
 (0)