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

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -