Skip to content

Commit

Permalink
Wording
Browse files Browse the repository at this point in the history
  • Loading branch information
molily committed Apr 25, 2023
1 parent 8598a42 commit 281b973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faking-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Creating and injecting fake dependencies is essential for unit tests. This techn

## Equivalence of fake and original

A fake implementation must have the same shape of the original. If the dependency is a function, the fake must have the same signature, meaning the same parameters and the same return value. If the dependency is an object, the fake must have the same public API, meaning the same public methods and properties.
A fake implementation must have the same shape as the original. If the dependency is a function, the fake must have the same signature, meaning the same parameters and the same return value. If the dependency is an object, the fake must have the same public API, meaning the same public methods and properties.

<aside class="margin-note">Replaceability</aside>

Expand Down

0 comments on commit 281b973

Please # to comment.