I have a very simple service call and a jasmine test for it.
Service call:
myServiceCall(testId: number) : void {
const url = `${this.url}/param
My problem is solved. After I added to params to the URL (if you use params).
let results = { param: 'results', value: '50' };
url = `${api.url}${route.url}?${results.param}=${results.value}`;
HttpTestingController
always display only URL without params, but if used expectOne(url)
it use a URL with query string like that:
http://example.com/path/to/page?name=ferret&color=purple