vojtajina/angular.js — comment on commit 5b0d0683584e304db30462f3448d9f090120c444
File:  line 0
By vojtajina:

I know, that's why I said, I was sorry for doing it, but did you try to trick toString.apply(obj) ? It's not that easy. And File constructor can't be used either.
Jasmine spy is removed after the spec, so this was the best solution I came up...