Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
css
 
 
js
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

unit-testing-angularjs-controller

A simple example of unit testing an AngularJS controller

Setup

Install NodeJS packages:

$ npm install

Running the app

Start up a web server in this directory. For example:

$ python -m SimpleHTTPServer 8000

Then open a browser at localhost:8000.

Running the tests

Run the Karma tests:

$ npm test

License

MIT

You can’t perform that action at this time.