Skip to content

[Bug][PDFExport] Incorrect module import #669

Open
@filipKovachev

Description

@filipKovachev

Describe the bug
When mounting a Vue component in a unit test using Vitest, the test fails due to an incorrect module import in @progress/kendo-vue-pdf.

To Reproduce

  1. Download the project from the ticket
  2. Run npm install and then npm run test
  3. Notice that the following error is produced:

Error: Cannot find module '/Users/palmer/Documents/rm/kendo-pdf-repro/node_modules/@progress/kendo-drawing/pdf' imported from /Users/palmer/Documents/rm/kendo-pdf-repro/node_modules/@progress/kendo-vue-pdf/KendoDrawingAdapter.mjs Did you mean to import "@progress/kendo-drawing/pdf.js"?

Expected behavior
No errors should occur

Reported in Ticket 1676680

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions