-
Notifications
You must be signed in to change notification settings - Fork 156
Closed
Description
Hi!
Currently I'm trying to code split my vue component with this way:
// App.vue
<style scoped src="./template/style.scss" lang="scss"></style>
<template src="./template/index.html"></template>
<script src="./script/index.js" type="text/javascript"></script>
And it seems that the vue-jest doesn't render the template. When I mount the component and check the vm.$el.innerHTML it's empty.
I see the comment in the docs:
https://vue-test-utils.vuejs.org/en/guides/testing-SFCs-with-jest.html
Note: vue-jest currently does not support all the features of vue-loader, for example custom block support and style loading. In addition, some webpack-specific features such as code-splitting are not supported either.
So is the problem I faced is regarding the code splitting not supported yet?
maxmilton, Gomah, andrey-mordasov, johnb0, arturminsksum and 11 more
Metadata
Metadata
Assignees
Labels
No labels