功能批量实现 优化 服务端 新浮动小游戏框架 新界面UI
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
import 'package:floating_mini_games/main.dart';
|
||||
|
||||
void main() {
|
||||
testWidgets('floating mini games app boots', (tester) async {
|
||||
await tester.pumpWidget(
|
||||
const FloatingMiniGamesApp(
|
||||
config: AppLaunchConfig(serverBase: 'http://127.0.0.1:8080'),
|
||||
),
|
||||
);
|
||||
expect(find.text('小游戏大厅'), findsOneWidget);
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user