make sure this test doesnt run for real (#34199)

This commit is contained in:
Jonah Williams
2019-06-11 10:35:10 -07:00
committed by GitHub
parent d850d69c3f
commit 7feddfdec0

View File

@@ -35,7 +35,11 @@ class TestBinding extends LiveTestWidgetsFlutterBinding {
}
void main() {
final TestBinding binding = TestBinding();
TestBinding binding;
setUp(() {
binding = TestBinding();
});
test('test pumpBenchmark() only runs one frame', () async {
await benchmarkWidgets((WidgetTester tester) async {