-
Hi! I try to test a VUE application using 'defineAsyncComponent' and ES module dynamic imports to register Async Components. Trouble is that vitest seems not to be able to load these. I've created a sandbox: https://codesandbox.io/s/spring-fog-ru6m4d As you can see the frontend is rendering the components "Async" and "Dynamic" just fine. Both are registered in "src/main.ts". The snapshot (https://codesandbox.io/s/spring-fog-ru6m4d?file=/test/__snapshots__/component.test.ts.snap) created via https://codesandbox.io/s/spring-fog-ru6m4d?file=/test/component.test.ts shows that the components "Async" is not rendered. Is there any trick that I'm missing? Thanks a lot! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This seems to be a bug: #1328 |
Beta Was this translation helpful? Give feedback.
This seems to be a bug: #1328