You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
I'm seeing this too.
I think it has something to do with the fact that some reporters use console.log, while others use process.stdout.write. The source code for grunt-mocha (0.4.13) only appears to hijack console.log
The JSON reporter is the only one that doesn't output using console.log and instead uses process.stdout.write... which is problematic since we don't want to output everything from stdout into the output file. At this point I don't have an easy solution, if anyone else has ideas please let me know.
Oh wait, I forgot that we used to hijack stdout instead of console but then switched back because it broke old versions of mocha. Master is now on mocha 2.x so we can hijack stdout again.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
Following is my grunt task definition:
However, when I run this task, I'm able to see the JSON output on the console, but my
output.json
file remains empty.The text was updated successfully, but these errors were encountered: