-
Notifications
You must be signed in to change notification settings - Fork 671
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
Fix for Dynamic imports not present #1198
Comments
Hi I need a reproduction to help with this issue |
Is there any progress on this issue? I've just encountered the same problem:
|
I found a solution. Needed to update my
|
Use For example, Parent component lazy load Child component
Step 1. Change
Step 2. Add
The child component will be mount as |
@alexxiyang hey, thanks for this tip above! I mean
The problem is gone, when Child imported as a regular (not async) component in Parent. As workaround I use |
Version
1.0.0-beta.29
Reproduction link
https://github.com/vuejs/vue-test-utils/blob/dev/CHANGELOG.md
Steps to reproduce
What is expected?
In the latest version is expected to be included the fix
#864
What is actually happening?
The fix #864 for dynamic imports seems lost.
On the repo changelog is listed in the release 1.0.0-beta.22 (2018-07-29)
https://github.com/vuejs/vue-test-utils/blob/dev/CHANGELOG.md
On the vue-test-utils package changelog is not listed
https://github.com/vuejs/vue-test-utils/blob/dev/packages/test-utils/CHANGELOG.md
And with the latest release a test with dynamic import still fails
The text was updated successfully, but these errors were encountered: