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

ionic2 cordova build android - Unable resolve gradle 2.2.3

OpenCover code coverage for .Net Core

Using Custom DLL with IronPython / Scripts