File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
packages/api/amplify_api_dart/test Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -280,6 +280,7 @@ void main() {
280
280
'payload' : {'data' : mockSubscriptionData},
281
281
};
282
282
283
+ mockProcessLifeCycleController = StreamController <ProcessStatus >();
283
284
mockWebSocketService = MockWebSocketService ();
284
285
const subscriptionOptions = GraphQLSubscriptionOptions (
285
286
pollInterval: Duration (seconds: 1 ),
@@ -600,6 +601,7 @@ void main() {
600
601
});
601
602
602
603
test ('should have correct state flow during a failure' , () async {
604
+ mockProcessLifeCycleController = StreamController <ProcessStatus >();
603
605
mockWebSocketService = MockWebSocketService ();
604
606
const subscriptionOptions = GraphQLSubscriptionOptions (
605
607
pollInterval: Duration (seconds: 1 ),
You can’t perform that action at this time.
0 commit comments