-
Notifications
You must be signed in to change notification settings - Fork 481
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
microsoft tests: delete pointless mocks, make test more maintainable (#…
…1405) What's wrong: we already were constructing real objects (fakes) as test-doubles, just pass the entire thing through rather than piecemealing the entire api surface with a ton of mock() calls. why fix this: we already spent human-time on this since I had to debug why the tests were failing in a previous PR. This commit just saves the next person re-debugging this. nit: unclear where 5 came from, but I can reason about 3, so use that (but a bit more that self-documenting for the future)
- Loading branch information
Showing
1 changed file
with
16 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters