/ionic2-blank-karma

Ionic 2 Seed Project : Angular2 + Typescript + Karma

Primary LanguageTypeScriptMIT LicenseMIT

Ionic 2 Seed Project : Angular2 + Typescript + Karma

This is a starter Ionic project with Karma / Jasmine for the reference of anyone having trouble setting up Unit Testing with Ionic 2.

Reference: https://www.joshmorony.com/introduction-to-testing-ionic-2-applications-with-testbed/

Installation

git clone https://github.com/sarahsga/ionic2-blank-karma.git
cd ionic2-blank-karma
npm install

Running Tests

ng test

Running App in Browser

ionic serve

NOTE: if the above command does not generate a www folder and gives an error, update your ionic-cli to the latest version using the following command:

npm install ionic -g

License

This project is licensed under the terms of the MIT license.