-
Notifications
You must be signed in to change notification settings - Fork 357
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
Mocha tests discovered but do not seem to run #683
Comments
Yes. [image: Inline image 1] I see the tests in the test explorer: [image: Inline image 2] However when I try to run or debug them they don't seem to run and I'm not Fred On Thu, Feb 11, 2016 at 7:23 PM, Sara Itani notifications@github.com
|
No, it never hits the breakpoint. Here's the the results: Test Name: keystoneModel contentFilter save single should create new Here's the Debug Output window: The thread 'main thread' (0x1) has exited with code 0 (0x0). The program '[1] node.exe @ tcp://localhost:65325/#ping=0' has exited with I never see a console window that indicates Node is running. Is there a way Fred ------ Run test started ------ ========== Run test finished: 1 run (0:00:06.4980418) ========== Here's the Debug Output window: The thread 'main thread' (0x1) has exited with code 0 (0x0). The program '[1] node.exe @ tcp://localhost:59895/#ping=0' has exited with On Sun, Feb 14, 2016 at 1:05 AM, Sara Itani notifications@github.com
|
Does the same issue occur with the included mocha item templates? Can you please walk me through the exact steps you're taking, including code snippets? It would be especially helpful to start with a basic console app and see if you can get things working there first. |
@mousetraps Steps:
On a fresh machine and new installation, followed the same above steps, except: |
@mousetraps The issue seems to be with Node.js 4.3.0, upgraded to 4.4, and it works now. |
Upgrading to 4.4 definitely fixed the issue. I had previously been running Not sure what the issue was but vickymittal thanks for the info!! Fred On Wed, Mar 16, 2016 at 12:00 PM, vickymittal notifications@github.com
|
@frauss, this was due to bug in nodejs (nodejs/node#4440) |
Seems like this has a known resolution. Closing this issue. |
I'm trying to move a Node.js project I created using WebStorm to Visual Studio and am having problems running Mocha unit tests.
When I try to 'Run all...' from the test explorer it seems build and run something but not my tests.
Here's the output I get:
However, I receive none of the console output I would expect from my tests.
I imagine something is misconfigured but just not sure what.
Thanks,
Fred
The text was updated successfully, but these errors were encountered: