Socket connection and entity service call

This commit is contained in:
estevez
2018-09-12 00:32:04 +03:00
parent be6cd7dbd7
commit b2bb5f78f6
2 changed files with 116 additions and 42 deletions

View File

@ -12,7 +12,7 @@ import 'package:hass_client/main.dart';
void main() {
testWidgets('Counter increments smoke test', (WidgetTester tester) async {
// Build our app and trigger a frame.
await tester.pumpWidget(new MyApp());
await tester.pumpWidget(new HassClientApp());
// Verify that our counter starts at 0.
expect(find.text('0'), findsOneWidget);