Describe the bug
One of the nice features of the UI mode is the module graph view, however, when the UI mode is used with --merge-reports, the module graph view only shows the test file, whereas I would expect it to also include all the files used by the test file.
Reproduction
StackBlitz reproduction link, select a test file in the UI, and navigate to the Module Graph tab. The modules graph only shows the test files, without the other files used by it.
System Info
System:
OS: Linux 5.0 undefined
CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 0 Bytes / 0 Bytes
Shell: 1.0 - /bin/jsh
Binaries:
Node: 20.19.1 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 10.8.2 - /usr/local/bin/npm
pnpm: 8.15.6 - /usr/local/bin/pnpm
npmPackages:
@vitest/ui: latest => 3.2.4
vite: latest => 7.1.9
vitest: latest => 3.2.4
Used Package Manager
npm
Validations
Describe the bug
One of the nice features of the UI mode is the module graph view, however, when the UI mode is used with
--merge-reports, the module graph view only shows the test file, whereas I would expect it to also include all the files used by the test file.Reproduction
StackBlitz reproduction link, select a test file in the UI, and navigate to the
Module Graphtab. The modules graph only shows the test files, without the other files used by it.System Info
System: OS: Linux 5.0 undefined CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 0 Bytes / 0 Bytes Shell: 1.0 - /bin/jsh Binaries: Node: 20.19.1 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 10.8.2 - /usr/local/bin/npm pnpm: 8.15.6 - /usr/local/bin/pnpm npmPackages: @vitest/ui: latest => 3.2.4 vite: latest => 7.1.9 vitest: latest => 3.2.4Used Package Manager
npm
Validations