vscode-jest-runner icon indicating copy to clipboard operation
vscode-jest-runner copied to clipboard

#296 | @willwillman | debug currentPackagePath

Open WillWillman opened this issue 2 years ago • 1 comments

Appears that the currentPackagePath and jestBinPath does not account for the possibility of certain mono-repos where sub packages share a node_modules directory in the root.

this PR allows the user to use a jestPathFromWorkspace setting to adjust where the runner looks for jest executable

WillWillman avatar Aug 29 '23 22:08 WillWillman

Salutations

What's an example structure this is trying to fix?

You were discussing changeDirectoryToWorkspaceRoot as true in #296, maybe it's an idea to change how the debug behaves when this is set to true, rather than introducing a new configuration? Hard to say without a reproduction 👍

domsleee avatar Sep 07 '23 12:09 domsleee