I've been trying to use fire(), but keep getting:
[TypeError: Cannot read property 'window' of undefined]
clickLink() works, but fire() works. I've tried both zombie 1.3.1 and 1.4.0 (from source):
// does not work:
I need to use fire() for some other events, but encounter the same problem. Am I using it incorrectly?
Just after submitting this and looking at the source, I realized that fire() doesn't take a selector, but the actual target. So, this works fine:
Wondering why not just take a selector as well.