Angular Testing With Ionic

Hi all,

I am currently trying to write unit tests for my Ionic app, but whenever I use inject suddenly testing stops working and I get an error. Angular-mocks is the same version as Angular that is installed. And I followed the step according to this tutorial:

I have also included the proper file-links the Karma config file, and so I’m pretty confused by what is happening. So if there is any help that anyone could provide I would really appreciate it.

The error is below: