Files
wechat_kit/example/integration_test/plugin_integration_test.dart
droplet af016f180c Feature 6.0.0 (#130)
* flutter 3.10.2 && dart 3.0
2023-06-03 17:23:15 +08:00

23 lines
846 B
Dart

// This is a basic Flutter integration test.
//
// Since integration tests run in a full Flutter application, they can interact
// with the host side of a plugin implementation, unlike Dart unit tests.
//
// For more information about Flutter integration tests, please see
// https://docs.flutter.dev/cookbook/testing/integration/introduction
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';
import 'package:wechat_kit/wechat_kit.dart';
void main() {
IntegrationTestWidgetsFlutterBinding.ensureInitialized();
testWidgets('isInstalled test', (WidgetTester tester) async {
// The version string depends on the host platform running the test, so
// just assert that some non-empty string is returned.
expect(await WechatKitPlatform.instance.isInstalled(), false);
});
}