Created
May 24, 2017 04:12
-
-
Save yjbanov/b9ff34fb4a2198ecc1d265c4a049eb8f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter_test/flutter_test.dart'; | |
import 'package:flutter_travis_sample/main.dart'; | |
void main() { | |
testWidgets('app should work', (tester) async { | |
await tester.pumpWidget(new MyApp()); | |
expect(find.text('Hello, World!'), findsOneWidget); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment