1
我正在使用ngMaterial的角度。我正在使用它随附的md-toast。问题是吐司使用超时而不是间隔,量角器不喜欢它们。量角器嘲笑类
我只是想从我的测试中删除md-toast调用。我所有的md-toast调用都在这个类中:
# Coffeescript
class MyAppController extends MyAppBase
showToast: (msg, type) ->
@rootScope.customToastMessage =
toast_type: type
messageString: msg
@rootScope.appctrl.openCustomToastMessage()
可以更改量角器测试中的showToast方法吗?
看到的是https:// github.com/angular/material/issues/2704了解更多信息问题 –