阅读背景:

使用jasmine和angular缩小$ provider注入

来源:互联网 

We have a project (angular) and some unittests for it (jasmine+sinon), which when minified creates some issues. For the actual code, we've solved these problems by injecting using the staticly typed string array, e.g. ['locationService', 'etcService']. Unfortunately for the unittests, the minification has some more problems to solve. As an example:We have a project (angular) and some unittests




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: