connor4312 / connor4312/nodejs-testing

Support for multi-root workspaces?

Open
#59 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
67
Forks
15
PR merge metrics
No merged PRs in 30d

Description

I have a monorepo setup which uses a VS Code [Multi-root Workspace](https://code.visualstudio.com/docs/editor/multi-root-workspaces). In this project I have two subprojects, one for a backend NodeJS service and one for a React UI. I use node's test runner for the backend project but for the UI tests I use other tools. My project setup in case it helps: https://github.com/pfaffle/armada-analyzer/blob/main/armada-analyzer.code-workspace

At the moment, the extension detects my backend tests twice, once as a subdirectory of the root project and once as a subdirectory of the "service" project which is a bit confusing and unnecessary.
![image](https://github.com/user-attachments/assets/a242ba06-9d76-47bc-bd29-0beeddecdbd7)

I would like to be able to configure this extension on a per-subproject level and use it only for the backend subproject and disable it for the UI one and for the root project (which has no code of its own). Is there a good way to do that now? VS Code only seems to allow me to configure it in the root project.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.