When running my mocha tests, they were working just fine, but now I am getting... 'undefined' is not a function (evaluating '$browser.state()') for quite a few (but not all) of them. Any ideas where this is coming from? Anyone seen this before?
I had the same problem and PSL's suggestion fixed it. You can get the latest version (at time of writing) here:
https://code.angularjs.org/1.3.0/angular-mocks.js
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With