hardlounge/test
Jérémie Astori b90c224a99
Define a raw logger to avoid using console.log, use it in extra help for environment variables, and add a test for this
This has multiple benefits:

- Respects the "Do not mock what you do not own" principle, instead we mock `log.raw` when necessary
- Lets us not re-assign `console.log`, which breaks as Mocha uses `console.log` as well
- Save and restore initial `log.raw` in test hooks (before/after), otherwise this would break Mocha/Chai
2017-12-11 23:48:51 -05:00
..
client/js Merge pull request #1797 from grissly-man/master 2017-12-10 16:15:40 +02:00
commands Enforce dangling commas with ESLint 2017-11-15 01:35:15 -05:00
fixtures Remove dead code in tests, and fix a link test 2017-12-09 18:56:05 -05:00
models Make sure all joins send filtered clone 2017-12-03 16:31:37 +02:00
plugins Remove dead code in tests, and fix a link test 2017-12-09 18:56:05 -05:00
src Define a raw logger to avoid using console.log, use it in extra help for environment variables, and add a test for this 2017-12-11 23:48:51 -05:00
tests Mark slow tests as such to reduce noise on test report 2017-11-27 18:47:19 -05:00
mocha.opts Add a simple (first) test for localetime Handlebars helper 2016-10-20 01:49:34 +02:00
server.js Remove dead code in tests, and fix a link test 2017-12-09 18:56:05 -05:00
util.js Define a raw logger to avoid using console.log, use it in extra help for environment variables, and add a test for this 2017-12-11 23:48:51 -05:00