blob: d6f213235290e6197c47c2312c1184020848f0f1 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
import '../lib/main.dart' as hello_world;
void main() {
testWidgets('Hello world smoke test', (WidgetTester tester) async {
hello_world.main(); // builds the app and schedules a frame but doesn't trigger one
await tester.pump(); // triggers a frame
expect(find.text('Hello, world!'), findsOneWidget);
});
}