Run “node test” as part of Visual Studio Team Services build task with results in “tests” tab
问题 I have a project that contains tests that I am running with Mocha from the command line. I have set up a test script in my packages.json , which looks as follows: "test": "mocha ./**/*.spec.js --reporter dot --require jsdom-global/register" I have currently got a simple task set up in Visual Studio Team Services, which just runs the npm test command, this runs Mocha within a console and continues/fails the build depending on whether the tests pass. What I'd like to be able to do is have the