Skip to content

Example of adding unit testing in your Ionic 2.x or greater apps with Karma and Jasmine

License

Notifications You must be signed in to change notification settings

ionic-team/ionic-unit-testing-example

 
 

Repository files navigation

Ionic Unit Testing Example

Based on the awesome unit testing example from @roblouie 👍

Clone repo, run npm install.

Unit Tests

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.

End-To-End Tests (Browser-Only)

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.

About

Example of adding unit testing in your Ionic 2.x or greater apps with Karma and Jasmine

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 11