We put together this example app showing how to use Angular’s unit testing in your Ionic 2.x or greater apps:
I know Unit Testing is a major concern for Ionic developers, so we hope you give this a look and share your feedback. We are using the standard unit testing approach in Angular with the Angular CLI.
To try it out, clone the repo, run
npm install, then
npm test. To add this to your project, copy the
src/mocks.ts, and the various