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

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type