Closed agenaille closed 5 years ago
Hello @agenaille I will make some tests and add them to the README.md soon
Thank you for the issue.
@troyanskiy Thanks for your help. I actually think the request is being fired, just not being caught by the HttpClientTestingModule/Controller.
bumping this
Hello @all I have made some unit test example at the end of the README.MD file.
Issue description
When invoking a resource's http call in an Angular 6 unit test, the request doesn't fire, and cannot be captured with the HttpTestingController.expectOne function.
Steps to reproduce the issue
Here is my code:
Unit Test:
What's the expected result?
What's the actual result?
Does this module work with the HttpClientTestingModule and HttpTestingController? Is there any way you can provide a working unit test example?