Skip to content

Fix for Dynamic imports not present #1198

Closed
@segundaestrella

Description

@segundaestrella

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

      [Vue warn]: Failed to resolve async component: function vsMobileCalendarOverview() {
        return import('./MobileCalendarOverview.vue');
      }
      Reason: Error: Not supported
    console.error node_modules/vue/dist/vue.runtime.common.js:589
      [Vue warn]: Failed to resolve async component: function vsMobileCalendarDaily() {
        return import('./MobileCalendarDaily.vue');
      }
      Reason: Error: Not supported

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions