DEV Community

Discussion on: Nice tests to run in CI before deploying any website

Collapse
 
remibruguier profile image
Rémi BRUGUIER

Those are great. About the console messages: do you use something in your CI to remove all the console.log you may have used during development and forgot to get rid of? I personally use UglifyJS to remove the pesky console logs...

Collapse
 
andyli profile image
Andy Li

I treat any detected console message as an error in CI, so there wouldn't be any console.log() left. Personally I don't care left-over logs that much since they wouldn't be visible to normal users... Just don't log with swear words... ;)