Skip to content

Commit 8d9f160

Browse files
Increase network logger tests coverage
1 parent a4848f0 commit 8d9f160

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/network_logger_test.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ void main() {
4545
mockRequest = MockHttpClientRequest();
4646
mockResponse = MockHttpClientResponse();
4747

48+
expect(mockRequest, isInstanceOf<HttpClientRequest>());
49+
expect(mockResponse, isInstanceOf<HttpClientResponse>());
50+
4851
when<dynamic>(mockRequest.close()).thenAnswer((_) async => mockResponse);
4952
});
5053

0 commit comments

Comments
 (0)