标签: angular typescript jasmine
我想模拟引导程序模式打开。 我尝试过像 spyOn($。fn,“ modal”).. returnValue(true); 为此我在Google上找到了参考。 但是它在ng test上给出了错误: 失败:: modal()方法不存在