Update update_goldens.sh

This commit is contained in:
Vadim 2025-01-27 21:08:16 +01:00
parent 0e9dc1c524
commit 74a6091f19

View file

@ -1,6 +1,6 @@
defaults -currentHost write -g AppleFontSmoothing -int 0
goldens=$(find ./test -name "*_golden_test.dart" -print)
for f in $goldens; do
fvm flutter test "$f" --dart-define cameraStubImage=assets/camera_stub_image.jpg --update-goldens
flutter test "$f" --dart-define cameraStubImage=assets/camera_stub_image.jpg --update-goldens
done
defaults -currentHost write -g AppleFontSmoothing -int 3