Skip to content

Commit

Permalink
Merge branch 'main' into custom-image
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel authored Jan 19, 2024
2 parents 1286ef4 + 5d4573a commit 82f91da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/mocktail/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ expect(cat.likes('fish', isHungry: false), isTrue);
// You can verify the interaction for specific arguments.
verify(() => cat.likes('fish', isHungry: false)).called(1);
verify(() => cat.likes(any(that: isA<Food>().having((food) => food.name, 'name', 'Fish')))).called(1);
// You can stub a method using argument matcher: `any`.
// When stubbing a positional argument, use `any()`.
Expand Down

0 comments on commit 82f91da

Please sign in to comment.