Skip to content

Commit

Permalink
Ensures that the binding is only initialized once.
Browse files Browse the repository at this point in the history
  • Loading branch information
fonkamloic committed Jul 20, 2024
1 parent ebbf25e commit be7c405
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion test/no_screenshot_platform_interface_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ class MockNoScreenshotPlatform extends NoScreenshotPlatform {
}

void main() {
TestWidgetsFlutterBinding.ensureInitialized();
final platform = MockNoScreenshotPlatform();

group('NoScreenshotPlatform', () {
Expand Down
1 change: 0 additions & 1 deletion test/no_screenshot_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ class MockNoScreenshotPlatform
}

void main() {
WidgetsFlutterBinding.ensureInitialized();
final NoScreenshotPlatform initialPlatform = NoScreenshotPlatform.instance;
MockNoScreenshotPlatform fakePlatform = MockNoScreenshotPlatform();

Expand Down

0 comments on commit be7c405

Please sign in to comment.