2012-05-10 22 views

回答

9

在您提供的參考網址展望快,似乎你的括號內的參數必須是獨立的:

var mocha = spawn('./node_modules/.bin/mocha', ['--reporter','json','-u','tdd']);