私は一緒にフォローしようとしています
http://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options
しようとする努力の中で
./node_modules/.bin/mocha --reporter json -u tdd
私が試してみました
var mocha = spawn('./node_modules/.bin/mocha', ['--reporter json -u tdd']);
しかし、次のエラーが表示されます
error: unknown option `--reporter json -u tdd'
私は何を間違っていますか?