MyApp -> OhThatsA class in a test

This commit is contained in:
broodjeaap 2020-06-11 20:21:49 +02:00
parent 0842a58865
commit 74ac02c621

View file

@ -13,7 +13,7 @@ import 'package:ohthatsa/main.dart';
void main() {
testWidgets('Counter increments smoke test', (WidgetTester tester) async {
// Build our app and trigger a frame.
await tester.pumpWidget(MyApp());
await tester.pumpWidget(OhThatsA());
// Verify that our counter starts at 0.
expect(find.text('0'), findsOneWidget);