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

ChildNodes undefined #1488

Open
DiogoBatista opened this issue Jan 22, 2019 · 1 comment
Open

ChildNodes undefined #1488

DiogoBatista opened this issue Jan 22, 2019 · 1 comment

Comments

@DiogoBatista
Copy link

For some reason, upon rendering the Slider component using Jest + Enzyme the following errors occur:

screenshot 2019-01-22 at 10 29 36
screenshot 2019-01-22 at 10 29 50
screenshot 2019-01-22 at 10 30 04

this occurs in the following file src>utils>innerSliderUtils.js:726

targetSlide = trackElem && trackElem.childNodes[targetSlideIndex];

@dawidk92
Copy link

@DiogoBatista did you find out how to resolve this problem?

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

2 participants