Closed andyhammar closed 2 years ago
Would be great to have also example on how to setup and assert call to TranslateService, like:
expect(translateService.use).toHaveBeenCalledWith('fr');
I'm looking for some help.
I don't believe this documentation accurately reflected the intended use.
Added a usage block that describes how to provide the TranslateService in tests.
I hope this is the correct and best way to use it, please advice if not so.