jeudi 23 juin 2016

Testing {Angular 2 + Webpack + ng2-translate}

How to test an Angular 2 (Typescript + Webpack + Karma + Jasmine) app which uses "ng2-translate" library for its translation ?

I am not clear on how to mock/provide Dependency Injection of the Translation Service in each Component's constructor and Translation Pipes in templates.

Appreciate your help in advance.

Aucun commentaire:

Enregistrer un commentaire