Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Optimize html reporter module graph data #9763

Description

@hi-ogawa

Describe the bug

I noticed while doing #9740. Currently the module graph is constructed and saved per entry test file. However, this involves quite a lot of duplicate information since this means each test file brings the subgraph starting from itself.

In #9740, this is optimized to save the full graph structure per environment and this avoids such duplicates. Html reporter should also preserve module graph data in that form, then only trim it down (traverse from per test file basis) at the view level.

Reproduction

na

System Info

na

Used Package Manager

npm

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    feat: reportersIssues and PRs related to Vitest reportersp1-choreDoesn't change code behavior (priority)

    Type

    Fields

    No fields configured for Task.

    Projects

    Status
    Approved

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions