File tree Expand file tree Collapse file tree 2 files changed +4
-19
lines changed Expand file tree Collapse file tree 2 files changed +4
-19
lines changed Original file line number Diff line number Diff line change 1717 flutter-version : ' 1.20.3'
1818
1919 - name : Install dependencies
20- run : flutter pub get
21- - name : Run tests
22- run : flutter pub run test
23-
20+ run : flutter pub get
Original file line number Diff line number Diff line change @@ -3,21 +3,9 @@ import 'package:flutter_test/flutter_test.dart';
33import 'package:pushbots_flutter/pushbots_flutter.dart' ;
44
55void main () {
6- const MethodChannel channel = MethodChannel ('pushbots_flutter' );
7-
8- TestWidgetsFlutterBinding .ensureInitialized ();
9-
10- setUp (() {
11- channel.setMockMethodCallHandler ((MethodCall methodCall) async {
12- return '42' ;
6+ group ('Sample test' , () {
7+ test ('value should start at 0' , () {
8+ expect (0 , 0 );
139 });
1410 });
15-
16- tearDown (() {
17- channel.setMockMethodCallHandler (null );
18- });
19-
20- test ('getPlatformVersion' , () async {
21-
22- });
2311}
You can’t perform that action at this time.
0 commit comments