Skip to content

Commit 83fec04

Browse files
committed
🌹 Fix tests under newer Flutter
1 parent be07a58 commit 83fec04

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/flutter_web_auth_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import 'package:flutter_web_auth/flutter_web_auth.dart';
55
void main() {
66
const MethodChannel channel = MethodChannel('flutter_web_auth');
77

8+
TestWidgetsFlutterBinding.ensureInitialized();
9+
810
setUp(() {
911
channel.setMockMethodCallHandler((MethodCall methodCall) async {
1012
expect(methodCall.method, 'authenticate');

0 commit comments

Comments
 (0)