Skip to content

Why use log() instead of console.log()? Is there a good reason? #198

Answered by PatrickAlphaC
fseitun asked this question in Q&A
Discussion options

You must be logged in to vote

log is silenced when run inside of a fixture
console.log is not

A bit of user preference, but if you swap out all your logs with console.log and run your tests... you'll get a ton of annoying output you don't want to see.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PatrickAlphaC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants