Skip to content

Optimize html reporter module graph data #9763

@hi-ogawa

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

    p3-minor-bugAn edge case that only affects very specific usage (priority)

    Type

    Projects

    Status

    Approved

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions