更新时间:2023-10-02 08:49:22
需要致电
angular.mock.module("my-module")
加载模块.
为什么 $injector 在我的单元测试中没有找到 $state?