Skip to content

Commit 520ca77

Browse files
authored
chore(mocktail): depend on pkg:test_api for Fake (#210)
1 parent 6c9d01b commit 520ca77

File tree

4 files changed

+4
-57
lines changed

4 files changed

+4
-57
lines changed

packages/mocktail/lib/mocktail.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
/// with null safety support and no manual mocks or code generation.
33
library mocktail;
44

5-
export 'src/fake.dart' show Fake;
5+
// ignore: deprecated_member_use
6+
export 'package:test_api/fake.dart' show Fake;
67
export 'src/mocktail.dart'
78
show
89
Mock,

packages/mocktail/lib/src/fake.dart

Lines changed: 0 additions & 18 deletions
This file was deleted.

packages/mocktail/pubspec.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ environment:
1111
dependencies:
1212
collection: ^1.15.0
1313
matcher: ^0.12.15
14+
test_api: '>=0.2.1 <0.7.0'
1415

1516
dev_dependencies:
16-
meta: ^1.3.0
17+
meta: ^1.10.0
1718
test: ^1.24.6

packages/mocktail/test/src/fake_test.dart

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)