Run/debug buttons placed at wrong position & associated with wrong test name
See original GitHub issueConsider this file:
The buttons are placed at the wrong position in the test, and if I press the Run button, jest will be invoked like this in the console so no tests will be run at all:
node '/workspace/downstream-repository-mining/node_modules/.bin/jest' '/workspace/downstream-repository-mining/test/references\.test\.ts' -t 'getNpmDeps'
Apparently, the heuristic (?) that is used to find the jest cases does not cover my rather uncommon test file here … 😃
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Run/Debug configuration: JUnit | IntelliJ IDEA Documentation
JUnit run/debug configurations define how unit tests that are based on the JUnit testing framework should be run.
Read more >Create and edit run/debug configurations - Android Developers
Open a Java file in the Code Editor. Select a class or method in the code, and then press Control+Shift+T (Command+Shift+T). Select Create...
Read more >How do I configure PyCharm to run py.test tests?
Run/Debug Configuration -> Defaults -> Python tests -> py.test ... I select Target: module name and put in the module where my tests...
Read more >Debugging in Visual Studio Code
One of the great things in Visual Studio Code is debugging support. Set breakpoints, step-in, inspect variables and more.
Read more >Excel Macro Troubleshooting Tips Debug and F8 Key Problems
Troubleshoot Excel macro if error message appears. Use Debug button to find and fix simple problem. Fix F8 key stops working.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Confirmed. So this is officially a low-level issue.
(Haha, I just noticed that I used the “Jest Test Explorer” for this before. 😃 It does not have such a nice editor integration as this project, but the debugger integration is a bit better IMHO. For example, if I run an
expect()
assertion in the debugging console, with vscode-jest-runner, I see[2m
artifacts in the output, whereas when using “Jest Test Explorer”, jest appears to know that it is not printing to a TTY. Just a notice. 😃)re-open if this issue still persists