jeudi 21 avril 2016

How do I "stub" a child ember component in an integration test?

Say I have a component A that contains component B. I'm writing an integration test for component A, but component B is an addon which I don't want to include with the tests (mainly because it makes xhr requests that I'd rather keep out of my integration test). Is there any documentation on how to do this? Or does anyone have a best practice?




Aucun commentaire:

Enregistrer un commentaire