Closed slaweet closed 3 months ago
Thanks for posting this issue. This is likely happening because of using ES modules for compiling TS. I will have a look at this soon.
This shouldn't be a problem anymore with the latest version of vue-markdown-render
.
When I'm testing my component with https://cli.vuejs.org/core-plugins/unit-jest.html and my component contains
import VueMarkdown from 'vue-markdown-render';
, then the Jest test runner fails with:I can resolve the error by mocking
vue-markdown-render
withBut with all other 3-rd party modules, I don't have to do this.