mirror of https://github.com/flutter/samples.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
367 B
16 lines
367 B
2 years ago
|
import 'package:flutter_test/flutter_test.dart';
|
||
|
import 'package:client/main.dart';
|
||
|
|
||
|
void main() {
|
||
|
group('App should', () {
|
||
|
testWidgets('build its widgets', (WidgetTester tester) async {
|
||
|
await tester.pumpWidget(
|
||
|
MyApp(
|
||
|
getCount: () => Future.value(1),
|
||
|
increment: (int x) => Future.value(x),
|
||
|
),
|
||
|
);
|
||
|
});
|
||
|
});
|
||
|
}
|