DEV Community

Discussion on: Easier Angular Unit Testing

Collapse
 
lysofdev profile image
Esteban Hernández

Awesome post! I especially liked the Wallaby library. I'd love to cut down my tests.

Do you know if the fakeAsync tool is compatible? It's part of the @angular/core/testing package. I'm wondering if Jest might not be compatible.

Collapse
 
wescopeland profile image
Wes Copeland

Hi Esteban, thank you!

fakeAsync is compatible. The Spectator GitHub repo goes above and beyond the docs for examples, here's one I was able to find that also uses Jest which might fit your use case.