angularjs - How can I run the unit tests for ngCordova? -
i’ve contributed ngcordova , create pull request. how can run existing tests? if can run i’ll update mocks & tests plugin changes too.
i’ve tried gulp karma
, gulp karma-watch
these throw, uncaught referenceerror: angular not defined
. cloned copy of ng-cordova, not integrated project.
answer george stocker:
git clone https://github.com/driftyco/ng-cordova.git
cd ng-cordova
npm install
bower install
(this missing piece me)
gulp karma
thanks george!
Comments
Post a Comment