-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recognizer missing in unit test #116
Comments
honestly - im not totally sure - you can try tbh though it looks like which may have never worked in tests... try using 0.6.0 as there was a big change in 1.0 and 1.1.0 - also if u could output your ember version and ember-qunit version, that would help. If you use a component rendering test, for example, if it works in development, it will work there. for the older component tests, unit or integration: true, style, we may need to debug. if your using ember 3.x, make sure to use ember 3.2 as well, fyi. If not, let me know what version you are using. thanks for reporting the issue, i help out on this repo, but i don't use this addon (i use pieces of it, manually) but not the whole thing itself, so sorry i don't have a better answer atm. we can work through it though, just let me know more about your deps :) |
package.json
I installed the package with
ember install ember-gestures
, then addedrecognizers: 'swipe'
to my component as well as aswipeLeft
method. The behavior works fine in development, but when I try to unit test the component I get this error:Same thing happens if I use ember generator to generate a
swipe
recognizer using the config in this repo:Do I need to do any more special component setup in my unit test outside of the
setupComponentTest
block?The text was updated successfully, but these errors were encountered: