Skip to content
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

scrollTo is no recognised as a function #1193

Open
yschoueri opened this issue Feb 21, 2022 · 0 comments
Open

scrollTo is no recognised as a function #1193

yschoueri opened this issue Feb 21, 2022 · 0 comments

Comments

@yschoueri
Copy link

yschoueri commented Feb 21, 2022

I am trying to use the new scrollTo method, I have updated to the latest version 2.6.0 and I use it as following

import { scrollTo } from '@ember/test-helpers';
await scrollTo('.class', 0, 30);

and when I run my test i have the following error TypeError: (0 , _testHelpers.scrollTo) is not a function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant