mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-08-11 11:18:47 +08:00
move karma-related dependencies into the repo. use karma-cli
This commit is contained in:
+4
-1
@@ -15,7 +15,10 @@
|
||||
"grunt-contrib-clean": "~0.4.0",
|
||||
"grunt-contrib-jshint": "~0.8.0",
|
||||
"grunt-jscs-checker": "~0.3.2",
|
||||
"lumbar": "~2.0.0-beta19"
|
||||
"lumbar": "~2.0.0-beta19",
|
||||
"karma": "^0.12.1",
|
||||
"karma-jasmine": "^0.2.2",
|
||||
"karma-phantomjs-launcher": "^0.1.2"
|
||||
},
|
||||
"scripts": {
|
||||
"install": "bower install"
|
||||
|
||||
@@ -48,9 +48,9 @@ If you want to clean up the generated files, run:
|
||||
Automated Testing
|
||||
-----------------
|
||||
|
||||
To run automated tests, you must first install [karma] globally, as well as some karma plugins:
|
||||
To run automated tests, you must first install [karma] command line utility:
|
||||
|
||||
npm install -g karma karma-jasmine karma-phantomjs-launcher
|
||||
npm install -g karma-cli
|
||||
|
||||
Then, assuming all your source files have been built (via `grunt dev` or `watch`), you can run the tests from a browser:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user