mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-03 06:12:22 +02:00
b90c224a99
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 |
||
---|---|---|
.. | ||
users | ||
config.js | ||
index.js | ||
install.js | ||
start.js | ||
utils.js |