Output file no data
appzone opened this issue · comments
Hi, i try outping the result into file with following command
mocha-phantomjs -R spec -f output index.html
the "output" file is created, but its empty
and the output also appear in console.
The spec reporter doesn't use process.stdout.write
but rather console.log
- see #114 for more information.
Simply use your shell piping for that scenario:
mocha-phantomjs -R spec index.html > output