mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
* Revert "Revert "Add code sharing sample (#1444)" (#1464)"
This reverts commit dc50c46ef1.
* Opting out failing tests on Windows for CI
Co-authored-by: Craig Labenz <craig.labenz@gmail.com>
16 lines
367 B
Dart
16 lines
367 B
Dart
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),
|
|
),
|
|
);
|
|
});
|
|
});
|
|
}
|