Mock window object in Jasmine unit test case

前端 未结 0 1305
遇见更好的自我
遇见更好的自我 2020-12-21 18:57

I\'m trying to write a test case but I\'m stuck as I\'m not able to replicate the window in the unit test cases in jasmine .

I have a class as follows

         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题