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

Using this gives us warnings in webpack based karma tests, possibly t… #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sebs
Copy link

@sebs sebs commented Jun 26, 2017

Using this gives us warnings in webpack based karma tests, possibly to the differently executed lifecycle in the test environment

  • this slider is only created on mounted
  • if younted is not created, no slider on this, thus destroy is not defined.
ERROR LOG: '[Vue warn]: Error in beforeDestroy hook: "TypeError: null is not an object (evaluating 'this.slider.destroy')"

sebs added 2 commits June 26, 2017 18:22
…o the differently executed lifecycle in th test environment

* this slider is only created on mounted
* if younted is not created, no slider on this, thus destroy is not defined.
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

Successfully merging this pull request may close these issues.

1 participant