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

Cytoscape instance takes 90s to bind while testing #55

Open
wfischer42 opened this issue Feb 18, 2020 · 0 comments
Open

Cytoscape instance takes 90s to bind while testing #55

wfischer42 opened this issue Feb 18, 2020 · 0 comments

Comments

@wfischer42
Copy link
Contributor

I'm working on a fairly complex app and trying to build out a thorough test suite. I was hoping to test the parent of the cytoscape component, and even to drill into the cytoscape instance in the tests. Unfortunately, unless I use shallowMount, it takes about 90 seconds to bind the value to the component state.

afterCreated(cy) {
  console.time("Bind Cy")
  this.instance = cy
  console.timeEnd("Bind Cy")
}

Bind Cy: 86007ms
This isn't a problem while serving or building - only in the test. Any thoughts on what the issue might be?

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