Ionic Unit Testing Example
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.
Example of adding unit testing in your Ionic 2.x or greater apps with Karma and Jasmine
TypeScript
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.