Skip to content
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

[BUG] Debugger does not stop inside JEST tests #1954

Closed
rexyeung opened this issue Oct 19, 2016 · 2 comments
Closed

[BUG] Debugger does not stop inside JEST tests #1954

rexyeung opened this issue Oct 19, 2016 · 2 comments

Comments

@rexyeung
Copy link

rexyeung commented Oct 19, 2016

Current Behaviour:
When JEST tests are ran in debugger mode and breakpoints are inserted in the tests, it does not stop at the breakpoints.

Preconditions:

  1. Utilizing the sum.js and sum-test.js example on Jest home page

Steps to Reproduce:

  1. npm install --save-dev jest
  2. npm run test
  • inside package.json "node --debug-brk --inspect ./node_modules/.bin/jest -i"

Environment:
Tested on node: 6.3, 6.7, 6.9
JEST: 16.0.1
OS: Mac, Ubuntu 16

Expected Behaviour:
When the test is ran in debugger mode, it should stop at "debugger;"

@maximderbin
Copy link
Contributor

@rexyeung duplicate of #1652

@cpojer cpojer closed this as completed Oct 20, 2016
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants