Files
kidgo/app/test/widget_test.dart
T

13 lines
492 B
Dart

// Smoke test for the IWBT-C Flutter port. The default counter-app test was
// removed because the app root is `AppRoot` (see lib/src/app_root.dart), not the
// boilerplate `MyApp`.
import 'package:flutter_test/flutter_test.dart';
import 'package:iwbtc/src/app_root.dart' show AppRoot;
void main() {
testWidgets('AppRoot instantiates', (WidgetTester tester) async {
// Smoke check: the game root widget constructs without throwing.
expect(const AppRoot(), isA<AppRoot>());
});
}