添加SpyOn $('#modal')。modal('show');业力

时间:2019-01-09 06:50:37

标签: angular typescript jasmine

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

0 个答案:

没有答案