Skip to content

Commit

Permalink
test: close conn from server
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinzent03 committed Sep 16, 2024
1 parent 463fdea commit 7a018dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/realtime_client/test/mock_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,7 @@ void main() {
channel.subscribe(subscribeCallback);

await Future.delayed(Duration(milliseconds: 200));
await client.conn!.sink
.close(Constants.wsCloseNormal, "heartbeat timeout");
await webSocket?.close(Constants.wsCloseNormal, "heartbeat timeout");
});
});

Expand Down

0 comments on commit 7a018dd

Please sign in to comment.