#flush(mock) does not resolve obserable while testing Http reqest
17 messages ยท Page 1 of 1 (latest)
not at the moment, we have only this http request on our project
What is this.transformData?
Also I think this is wrong:
jest.spyOn(TestBed.inject(EventService), 'track').mockResolveValue(of(undefined));
That should be mockReturnValue.
As now it becomes a Promise<Observable<undefined>>
While u want Observable<undefined>
yep it is, my bad, I cannot copy the code, so I typed it in
Hard to help when we arent looking at real code. Ensure it's accuratly representing what u have
unfortunatelly I cannot ๐
You can.
You just have to double and triple check what u write.
What is tools and what is this.transformData ?
tell that to my bosses and client
I dont see how they are responsible for when u make typos lol ๐
give me a sec