It turns out, the solution is much cleaner, if you just mock instead of actually calling the MDDialog method. So instead of. 1. spyOn ...
確定! 回上一頁