Based on the awesome unit testing example from @roblouie 👍
Clone repo, run npm install.
To run the tests, run npm test.
See the example test in src/app/app.component.spec.ts for an example of a component test.
To serve the app, run ionic serve.
To run the end-to-end tests, run (while the app is being served) npm run e2e.
See the example end-to-end test in e2e/app.e2e-spec.ts.