I'm getting error that I need to inject i18next in my unit test. I'm testing service that has i18next lib dependency. I'm also using require.js to load all modules that I need for my app.
So the problem is that I do not know how to inject this lib in unit test and I'm getting this error message when I run 'gulp test'.
Error: [$injector:unpr] Unknown provider: $i18nextProvider <- $i18next <- myApp.someService
http://ift.tt/1AD6JVz
Aucun commentaire:
Enregistrer un commentaire