inject is not defined when running unit test with jasmine + chutzpah


If you face issued with running unit test with error message "inject method not found", then you might be missing angular-mocks.js in your chutzpah.json configuration file.

All you need to do is include it in, like so....


Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm