nathanboktae / mocha-phantomjs

:coffee: :ghost: Run client-side mocha tests in the command line through phantomjs
MIT License
954 stars 112 forks source link

is it possible to not show console logs? #220

Closed yairEO closed 8 years ago

yairEO commented 8 years ago

inside the code which I'm testing I have console logs (or other console types) and they show up when I run mocha-phantomjs.

phantomjs console logs

nathanboktae commented 8 years ago

No. The spec reporter and your code use console.log so it's all the same stream. See #114.

yairEO commented 8 years ago

ok then, I will just use gulp-strip-debug. Thanks for the quick reply!

nathanboktae commented 8 years ago

Yup some kind of grep solution should work for you. Good luck!