Skip to content

Commit 29e8447

Browse files
committed
Fix bitmap test timeout
1 parent 588c689 commit 29e8447

File tree

1 file changed

+1
-8
lines changed
  • packages/google_maps_flutter/google_maps_flutter_platform_interface/test/types

1 file changed

+1
-8
lines changed

packages/google_maps_flutter/google_maps_flutter_platform_interface/test/types/bitmap_test.dart

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -729,14 +729,7 @@ void main() {
729729
});
730730

731731
test('construct with glyph bitmap', () async {
732-
const ImageConfiguration imageConfiguration = ImageConfiguration(
733-
devicePixelRatio: 3,
734-
size: Size(48, 56),
735-
);
736-
final BitmapDescriptor bitmap = await BitmapDescriptor.asset(
737-
imageConfiguration,
738-
'red_square.png',
739-
);
732+
const BitmapDescriptor bitmap = AssetBitmap(name: 'red_square.png');
740733
final PinConfig pinConfig = PinConfig(
741734
backgroundColor: Colors.black,
742735
borderColor: Colors.red,

0 commit comments

Comments
 (0)