Skip to content

Commit

Permalink
fix tests for web
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind committed Oct 25, 2024
1 parent 16bd19d commit bb49dd5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions flutter/test/replay/masking_config_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,8 @@ void main() async {
.map((rule) => rule.toString())
// These normalize the string on VM & js & wasm:
.map((str) => str.replaceAll(
RegExp(
r"SentryMaskingDecision from:? [fF]unction '?_maskImagesExceptAssets[@(].*",
dotAll: true),
'SentryMaskingDecision)'))
RegExp(r"=> SentryMaskingDecision from:? .*", dotAll: true),
'=> SentryMaskingDecision)'))
.map((str) => str.replaceAll(
' from: (element, widget) => masking_config.SentryMaskingDecision.mask',
''))
Expand Down

0 comments on commit bb49dd5

Please sign in to comment.