I have a very simple service call and a jasmine test for it.
Service call:
myServiceCall(testId: number) : void {
const url = `${this.url}/param
You should have your test inside a fakeAsync and call tick() at the end of your test. like
it('should call myServiceCall', inject([MyService], fakeAsync((service: MyService) => {
let testId = undefined;
service.myServiceCall(testId);
let req = httpMock.expectOne(environment.baseUrl + "/paramX/123");
expect(req.request.url).toBe(environment.baseUrl + "/paramX/123");
expect(req.request.body).toEqual({});
req.flush({});
httpMock.verify();
tick();
})));