Vscode-jest: Multi-Root Workspace

Created on 8 Feb 2018  路  5Comments  路  Source: jest-community/vscode-jest

Does this extension support a VS Code multi-root workspace?

Couldn't seem to find any existing questions relating to a multi-root workspace. When I load a multi-root workspace only the tests from the first project of the workspace are run.

enhancement

Most helpful comment

Read through that. Related but slightly different. I don't have a top-level package.json or even a top level folder I can use for an override file.

For now, I just re-ordered the folders node in the workspace config so the project I want to run is the first one on the list.

I just started using this extension about an hour ago and I'm working on some other issues. I'll take a crack at a PR for multi-root. Just wanted to make sure I wasn't missing something.

I'll let everyone know here when/if I start working it so people aren't waiting for a PR that hasn't been started.

All 5 comments

Sounds related to #129?

Read through that. Related but slightly different. I don't have a top-level package.json or even a top level folder I can use for an override file.

For now, I just re-ordered the folders node in the workspace config so the project I want to run is the first one on the list.

I just started using this extension about an hour ago and I'm working on some other issues. I'll take a crack at a PR for multi-root. Just wanted to make sure I wasn't missing something.

I'll let everyone know here when/if I start working it so people aren't waiting for a PR that hasn't been started.

Good luck yeah, I don't think this supports multi-root at all

Vscode has a pretty good description on how to modify plugins to work for multi-root workspaces:
https://github.com/Microsoft/vscode/wiki/Extension-Authoring:-Adopting-Multi-Root-Workspace-APIs

hi, multi-root support has finally arrived, feel free to give it a try: 3.0.0-preRelease

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bnwan picture bnwan  路  28Comments

luisrudge picture luisrudge  路  27Comments

connectdotz picture connectdotz  路  24Comments

karb0f0s picture karb0f0s  路  37Comments

connectdotz picture connectdotz  路  37Comments