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

New Post: Debug Mocha unit tests

$
0
0
I've currently got this working with the latest dev build ( https://nodejstools.codeplex.com/releases/view/116275 )

I also have a work around for not being able to use ~\AppData, you can just use a user specific njsproj file
Just create ProjectName.njsproj.user in the project folder with the following (change your username of course):
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <NodeExePath>C:\Users\YOURUSERNAME\AppData\Roaming\npm\mocha.cmd</NodeExePath>
  </PropertyGroup>
</Project>

Viewing all articles
Browse latest Browse all 4630

Trending Articles



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