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

Test in vue 3 with $df #331

Closed
dhanos23 opened this issue Dec 22, 2021 · 1 comment
Closed

Test in vue 3 with $df #331

dhanos23 opened this issue Dec 22, 2021 · 1 comment
Labels

Comments

@dhanos23
Copy link

Hi

I used your example to how use drawflow with vue 3 (https://github.com/jerosoler/drawflow-vue3-example) and everithing its ok, but when I tried to test my components with vue-test-utils I had this problem
image

Do you have any example to how needs to do the test?

thanks

@jerosoler jerosoler added the Vue label Dec 22, 2021
@jerosoler
Copy link
Owner

Hello,

I can't help you with the tests. Little I have tested.
Maybe this can help you:
vuejs/vue-test-utils#1655

But in any case that variable refers to:

editor.value = new Drawflow(id, Vue, internalInstance.appContext.app._context);

Jero

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

No branches or pull requests

2 participants