You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Yeah, the other option is to fiddle with the msie global in the test or add some way to mock it. All the other places where we test code that uses msie, we don't mock it, we just run the additional/modified test in IE for real. In this case, we can't do that since karma always has <!doctype html> in the runner document. So actually, this is the only place I found in angular where msie needs to mocked, so I think it is not worth it and I prefer the PR just the way it is.
I have tests for a directive that uses
$window
. Since 1.3.0 I cannot mock$window
without havingdocument
property in$window
.I have a JSFiddle demonstrating this problem:
document
is failing in 1.3.0The text was updated successfully, but these errors were encountered: