Closed guidocecilio closed 7 years ago
Please try asking this question in the Gitter channel or on Stack Overflow. Thanks!
I'll be honest, I kind of wish for an officially documented way to do this, preferably one that made it easy to have different app contexts, so you could easily test that a different user got different things, or different data resulted in a different view.
How to mock a service using the HttpClient imported from 'aurelia-http-client'?
This is the service code:
This is the test code:
Is there any documentation available about http-client-mock?
Thanks a million in advance for all your support.