Dependecy upgrade and macos plarform added

This commit is contained in:
Pablo Reinoso
2023-06-19 16:49:08 -04:00
parent 289aac49fe
commit ee368f05cf
51 changed files with 2539 additions and 932 deletions

View File

@ -53,10 +53,10 @@ void main() {
},
);
test(
'handle exception handles DioError with statusCode 1',
'handle exception handles DioException with statusCode 1',
() async {
when(() => mockDioNetworkServide.dio.get(any())).thenThrow(
DioError(requestOptions: RequestOptions(path: '')),
DioException(requestOptions: RequestOptions(path: '')),
);
final resp = await mockDioNetworkServide.get('');
resp.fold(