Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

spyEvent does not work in Safari 5 #282

Open
julkue opened this issue May 8, 2016 · 0 comments
Open

spyEvent does not work in Safari 5 #282

julkue opened this issue May 8, 2016 · 0 comments

Comments

@julkue
Copy link

julkue commented May 8, 2016

Using

expect(spyEvent).toHaveBeenTriggered();

does not work for me in Safari 5 on Windows. However, in newer Safari versions (e.g. 6 or 9) it works.

Necessary workaround at the moment:

$ctx.find(".event-target").on("click", function(){
    ++eventCalled;
});
julkue added a commit to julkue/mark.js that referenced this issue May 8, 2016
Due to a problem that can be found here
velesin/jasmine-jquery#282
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant