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
Use the options hash to change the parameters of the MouseEvents.
Maybe more text could be added here to explain that all event properties can be set here (I think that's the case). For example, I needed to test alt clicking a button and it wasn't clear to me that you could simply do this: click(el, { altKey: true }).
This should be possible as of #398, but we should confirm with a test and then add an exmaple to the API docs.
Tests are here:
ember-test-helpers/tests/unit/dom/click-test.js
Lines 99 to 105 in 8d63527
Docs are here:
ember-test-helpers/addon-test-support/@ember/test-helpers/dom/click.ts
Lines 26 to 56 in 8d63527
The text was updated successfully, but these errors were encountered: