lundi 16 décembre 2019

How to test RXJS utils like pipe,skip,tap,retry etc.. inside any angular app with Jasmine

I am trying to test my components inside an angular app using Jasmine. I am unable to mock certain utils like a pipe, skip, switch map, etc from RXJS. this.route.queryParams.pipe(skip(1)).subscribe(params => comsole.log(params);

Can someone help me suggest a way to test this piece out?

Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire