This is a demo of Jasmine/karma set up of a simple hello world app. Install the dependencies by running "npm install" in the root folder and voila you are all set.
Otherwise, if you are setting up jasmin/karma in your app for the fist time, follow these steps:
- Install npm (if you haven't already) from https://nodejs.org/en/download/
- Go to your project root folder and run "npm init" and it will ask you a series of questions. This will create the package.json file for your project (along with the node_modules).
- Then install the dependencies by running
- npm install karma karma-jasmine jasmine-core karma-chrome-launcher --save-dev
- npm install angular angular-ui-router angular-mocks --save-dev
- Run npm install -g karma-cli
- Again if this is the first time, karma is being configured in your project run "karma init" to create karma.config.js.