Skip to content
This repository was archived by the owner on Jan 2, 2026. It is now read-only.

Latest commit

 

History

17 提交

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

仓库 files navigation

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

关于

A simple example of unit testing an AngularJS controller

Topics

Resources

Stars

0 stars

关注者

0 watching

复刻s

发布

Used by

贡献者

Languages