Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

Closed Issue: Typescript project: going to failed test only goes to the top of the file for mocha [1679]

$
0
0
VS 2013 Update 4 Community
NTVS 21219.01

1. Create a typescript Azure Express 3 project
2. Add a typescript Mocha unittest
3. Install tsd to create a mocha.d.ts file and include it in the project
4. run the unit test which should fail on test B
5. double clicking on the failed test in test explorer.

Actual Result:
This will bring you to line 1 of the unittest1.ts file.

Expect Result:
Expecting the double click to bring me to the failed test.
Comments: Mocha does not provide line numbers in source for the test. It only provides the name. This is not typescript specific, JS has the same behavior

Viewing all articles
Browse latest Browse all 4630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>