Skip to content

fix(cli): support monorepos with --inspect-brk #4761

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 16, 2025

Conversation

noomorph
Copy link
Collaborator

@noomorph noomorph commented Apr 16, 2025

Description

Resolves issue when you need to run Detox with --inspect-brk but your Jest installation is not in ./node_modules but, for example, in ../../node-modules/.

In this pull request, I have changed strategy from hard-coded if-else to resolveFrom(cwd, 'jest/bin/jest').

--
Addresses https://github.com/wix-private/detox/issues/2651

@noomorph noomorph requested a review from d4vidi as a code owner April 16, 2025 13:59
@noomorph noomorph merged commit aaf6264 into master Apr 16, 2025
3 checks passed
@noomorph noomorph deleted the fix/inspect-brk-in-monorepos branch April 16, 2025 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant