Skip to content

Commit

Permalink
chore(mocktail): depend on pkg:test_api for Fake (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel committed Oct 3, 2023
1 parent 6c9d01b commit 520ca77
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 57 deletions.
3 changes: 2 additions & 1 deletion packages/mocktail/lib/mocktail.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
/// with null safety support and no manual mocks or code generation.
library mocktail;

export 'src/fake.dart' show Fake;
// ignore: deprecated_member_use
export 'package:test_api/fake.dart' show Fake;
export 'src/mocktail.dart'
show
Mock,
Expand Down
18 changes: 0 additions & 18 deletions packages/mocktail/lib/src/fake.dart

This file was deleted.

3 changes: 2 additions & 1 deletion packages/mocktail/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ environment:
dependencies:
collection: ^1.15.0
matcher: ^0.12.15
test_api: '>=0.2.1 <0.7.0'

dev_dependencies:
meta: ^1.3.0
meta: ^1.10.0
test: ^1.24.6
37 changes: 0 additions & 37 deletions packages/mocktail/test/src/fake_test.dart

This file was deleted.

0 comments on commit 520ca77

Please sign in to comment.