Open rvignesh89 opened 8 years ago
Windows 8.1 IE 11.0
I have a curious case here. In one of my tests I want to spy on a particular function in the parent document. Since my tests don't load the parent document I instantiate it manually like below.
parent = {hideBar:function(){}}; spyOn(parent,'hideBar');
However when I run the tests I'm getting the following error,
Error: hideBar() method does not exist
However, when I try to debug IE I don't get this error. Some information on why this happens would be useful.
Windows 8.1 IE 11.0
I have a curious case here. In one of my tests I want to spy on a particular function in the parent document. Since my tests don't load the parent document I instantiate it manually like below.
However when I run the tests I'm getting the following error,
Error: hideBar() method does not exist
However, when I try to debug IE I don't get this error. Some information on why this happens would be useful.