Open
Description
Environment
vscode-jest version
: 1.67.2node -v
: v16.15.0npm -v
: 8.5.5npm ls jest
: ├─┬ [email protected]
│ └── [email protected] deduped
├── [email protected]
└─┬ [email protected]
└── [email protected] deduped- your vscode-jest settings if customized:
- jest.jestCommandLine: -
- jest.autoRun: off
- Operating system: macOS 12.4 (21F79)
Prerequisite
- are you able to run jest test from the command line? yes
- how do you run your tests from the command line? yes
Steps to Reproduce
- Add a spec file somewhere deeply nested in the project folder.
- open test explorer
Expected Behavior
Add an option to "flatten" the nested tree to only show a tree containing:
- spec 1
** should do stuff
** should do another stuff - spec 2
** should do stuff again
** should not do stuff
Mind, that the actual file path to the specs is not shown in the test explorer!
Actual Behavior
Either we get a deeple nested tree structure to drill down or we only get a super-flat list. The later is not an option because it doesn't group the individual tests at all.
This extension has such a view: https://github.com/hbenl/vscode-test-explorer
(Unfortunately it has problems with typescript)