Open rondonjon opened 7 years ago
This is a sample config I've got:
Might it be that Karma is expecting that angular and angular-mocks are loaded with commonJS or so? and that the bower_components are not standalone scripts?
edit Looking at the travis.yml, that tells travis to execute the tests noticed that it executes:
grunt karma:ci
and grunt coverage
. Maybe using these it works?
PS: what else do you suggest to test before opening a PR? I mean, given that reCaptcha does not work on localhost, the options seem quite limited ...
reCaptcha does work on localhost, you just need to provide your own reCaptcha key which has localhost defined as a domain.
Also, did you run npm install
and bower install
?
Apologies if I missed something.
I am about to create a pull request and wanted to run the test cases in advance, but
grunt test
gives me this output:In other words, the
module.js
file expects a global object namedangular
which is not available in Chrome at runtime.