Skip to content

feat: expose every recorded call on fake instances - #74

Merged
aeharding merged 1 commit into
mainfrom
fake-all-calls
Jul 25, 2026
Merged

feat: expose every recorded call on fake instances#74
aeharding merged 1 commit into
mainfrom
fake-all-calls

Conversation

@aeharding

Copy link
Copy Markdown
Owner

allCalls() makes "this action stayed local" testable. Asserting a specific route was never called can't fail when the client has no way to call it — a consumer spec was doing exactly that, an unfalsifiable assertion that also pinned an otherwise provider-agnostic test to one provider. Comparing recorded calls before and after an action checks the real claim.

allCalls() makes 'this action stayed local' testable. Asserting a
specific route was never called can't fail when the client has no way to
call it — a consumer's spec was doing exactly that — but comparing the
recorded calls before and after an action checks the real claim.
@aeharding
aeharding merged commit 6a26e73 into main Jul 25, 2026
1 check passed
@aeharding
aeharding deleted the fake-all-calls branch July 25, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant