Skip to content

Commit

Permalink
refactor: general refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
jhomlala committed Jul 7, 2024
1 parent 6058471 commit ff58803
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions packages/alice_dio/test/alice_dio_adapter_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ import 'package:http_mock_adapter/http_mock_adapter.dart' as http_mock_adapter;
import 'package:mocktail/mocktail.dart';
import 'package:test/test.dart';

import 'alice_core_mock.dart';

void main() {
late AliceCore aliceCore;
late AliceDioAdapter aliceDioAdapter;
Expand Down Expand Up @@ -223,6 +221,7 @@ void main() {

verify(
() => aliceCore.addResponse(any(that: nextResponseMatcher), any()));
file.deleteSync();
});
});

Expand Down
1 change: 1 addition & 0 deletions packages/alice_test/lib/alice_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export 'matcher/alice_request_matcher.dart';
export 'matcher/alice_response_matcher.dart';
export 'matcher/alice_error_matcher.dart';
export 'matcher/alice_log_matcher.dart';
export 'mock/alice_core_mock.dart';
1 change: 1 addition & 0 deletions packages/alice_test/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ environment:
dependencies:
alice: ^1.0.0-dev.9
test: ^1.25.2
mocktail: ^1.0.4

dev_dependencies:
flutter_test:
Expand Down

0 comments on commit ff58803

Please sign in to comment.