Using virtualFolders and multi-root together? Or something similar? #1242
Unanswered
OmriHarary
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone. First off want to say I love the extension! Also not sure if this makes more sense as an issue or discussion, so I'm starting here to be safe.
Hitting a bit of a problem trying to switch from a single-root to multi-root monorepo and hoping there is some sort of solution to it. In brief, two of the projects in this monorepo have one Jest config for unit tests and one for integration tests. Previously I had been using
virtualFolders
with 4 configurations to be able to select which to run, but now in the multi-root setup it seems that does not work. If I put thevirtualFolders
in the individual sub-workspaces'.vscode/settings.json
they are not picked up, and having it in the.workspace
file results in[error] Process failed: spawn /bin/sh ENOENT
when I attempt to run the tests.Would it be possible to have the extension use
virtualFolders
and multi-root together? Or is there some other solution to what I'm trying to achieve here?Beta Was this translation helpful? Give feedback.
All reactions