Open mdegani opened 7 years ago
@rangle/angular-content-maintainers testing 🔢
Can you think of one line to add to /unit-testing-light-http-mock
to close this one?
How about starting slide with "Rather than providing a full mock for Angular's Http service, a light mock can be used." to introduce the concept by contrasting it with a full mock. Is that sufficient?
What is a "light mock"?
I like the term, but it's not something I've seen other than here: https://angular-2-training-book.rangle.io/handout/testing/services/alt-http-mocking.html.
Is there are a better way to describe a mock that provides only no-ops for the functions expected to be used, rather than a full mock (like the one angular allows us to to provide)?