Created
November 17, 2023 18:20
stager testing snippet
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
testWidgets('shows an empty state', (WidgetTester tester) async { | |
final Scene scene = EmptyListScene(); | |
await scene.setUp(); | |
await tester.pumpWidget(scene.build()); | |
await tester.pump(); | |
expect(find.text('No posts'), findsOneWidget); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment