Closed IonicaBizau closed 6 years ago
The short answer is that because of --isolate
we suppress the stdout
output. Try using console.error
for now, but we should be doing something better here.
Yes, I followed the workaround from this answer.
Is there any progress on this?
So, this should probably be OK in 1.x.
I'm going to close this for now.
I have a test file like below:
Somewhere this crashes, and I want to output some data. I tried to do
console.log
andprocess.stdout.write(...)
. Both don't work as I expected.I run the test using
npm test
, havingvows --spec --isolate
in mypackage.json
file.So, how can I output data when using Vows tests?
I already tried the workaround from #70 that didn't work for me...
I also asked this StackOverflow question.