sarahsga / ionic2-blank-karma

Ionic 2 Seed Project : Angular2 + Typescript + Karma

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Ionic 2 Seed Project : Angular2 + Typescript + Karma

License:MIT License


Languages

Language:TypeScript 43.4%Language:CSS 24.6%Language:JavaScript 17.3%Language:HTML 14.7%