I've got some duplicated code in tests of my Angular2 components. I want to extract this code to some helper class. What is the best approach for test helpers in Angular2? Where those files should be located in project (I've got angular-cli layout), how should I import them only in tests? In this particular case it's keyboard accessibility helper.
Br, Kuba
Aucun commentaire:
Enregistrer un commentaire