iosWebViewFix/example/integration_test/in_app_webview/handles_url_scheme.dart

16 lines
426 B
Dart

part of 'main.dart';
void handlesURLScheme() {
final shouldSkip = kIsWeb
? true
: ![
TargetPlatform.iOS,
TargetPlatform.macOS,
].contains(defaultTargetPlatform);
skippableTest('handlesURLScheme', () async {
expect(await InAppWebViewController.handlesURLScheme("http"), true);
expect(await InAppWebViewController.handlesURLScheme("https"), true);
}, skip: shouldSkip);
}