mirror of
https://github.com/thelounge/thelounge
synced 2024-11-27 14:30:57 +00:00
c2243ed7b4
I used `npm run coverage` while *not* excluding the test folder to detect dead code in our test folder, it is actually pretty useful to do so (as a one-shot, not to do that in our config). Only remaining unreached path is L40 in `test/plugins/auth/ldap.js`, but it does seem to me that it might be useful in case of failures, so I preferred to leave it there.
6 lines
156 B
JavaScript
6 lines
156 B
JavaScript
"use strict";
|
|
|
|
global.log = require("../../src/log.js");
|
|
|
|
var home = require("path").join(__dirname, ".lounge");
|
|
require("../../src/helper").setHome(home);
|