Skip to content

[Bug] coverage does not include code for vue files #38

Description

@DediWang1990

Describe the bug

project use Vue3(^3.3.4) + vite(^5.0.9);

strorybook use VueJsx (https://github.com/vitejs/vite-plugin-vue)

execute ccmmand "test-storybook -- --coverage", coverage does not include code for vue files.

Steps to reproduce the behavior

1.storybok main config:
image

2.packages.json:
image

  1. execute result:
    image

Expected behavior

coverage include code for vue files.

Screenshots and/or logs

see above

Environment

  • OS: Windows 11
  • Node.js version: v16.14.2np
  • NPM version: 8.5.0
  • Browser (if applicable): chrome
  • Browser version (if applicable): 121.0.6167.85

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions