iosWebViewFix/example/integration_test/in_app_localhost_server/main.dart

24 lines
549 B
Dart

import 'package:flutter/foundation.dart';
import 'package:flutter_inappwebview/flutter_inappwebview.dart';
import 'package:flutter_test/flutter_test.dart';
import 'load_asset_file.dart';
void main() {
final shouldSkip = kIsWeb;
group('InAppLocalhostServer', () {
final InAppLocalhostServer localhostServer = InAppLocalhostServer();
setUpAll(() async {
await localhostServer.start();
});
loadAssetFile(localhostServer);
tearDownAll(() async {
await localhostServer.close();
});
}, skip: shouldSkip);
}